Reflection question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


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 ?


Site Timeline