Reflection question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Damien Viel

    #1

    Reflection question

    Hi,

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

    $layer = getLayer("fr.de mo.MyLayer");
    $iService = new JavaClass($serv iceName);
    $service = $layer->getService($iS ervice);
    $method = new ReflectionMetho d($service, $methodeName);
    $method->invoke($arg) ;

    But does not work.

    Uncaught exception 'ReflectionExce ption' with message 'Method
    Java::getAllApp licationPerson( ) does not exist'

    Anybody has a idea ?

    Damien

Working...