By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,656 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

Reflection question

P: n/a

I'm testing Javabridge and I want to use some reflection.
I'm trying this :

$layer = getLayer("fr.demo.MyLayer");
$iService = new JavaClass($serviceName);
$service = $layer->getService($iService);
$method = new ReflectionMethod($service, $methodeName);

But does not work.

Uncaught exception 'ReflectionException' with message 'Method
Java::getAllApplicationPerson() does not exist'

Anybody has a idea ?


Feb 28 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.