Mantis - Quercus
Viewing Issue Advanced Details
3451 minor always 04-19-09 08:42 04-19-09 08:42
pablorg  
 
normal  
new  
open  
none    
none  
0003451: java_bean does not work as documented
I have a class configured as a webbean in resin as such:

   <bean>
      <class>com.my.Server</class>
      <init>
         <name>myServer</name>
      </init>
   </bean>

these lookups do not find anything:

$server = java_bean("com.my.Server");
$server = java_bean("myServer");

only this one works (discovered after 15 mins of trial and error):

$server = java_bean("server");


There are no notes attached to this issue.