Hi there,
Is there an API for this in JBoss? I know the JNDIView MBean can be used to browse all the name entried in JNDI, but I want to get a JNDI name for an EJB, is there a function like getJNDIName(ObjectName objname) in some MBean or service, where for example objname="EJBModule=KTJAR.jar,J2EEApplication=null,J2EEServer=Local,j2eeType=StatelessSessionBean,name=HelloWorld"? Or can I easily add a service to achieve this goal?
Your help is greatly appreciated!
Thanks,
Yueming
the RMIAdaptor has 2 query methods which you might find useful: queryMBeans and queryNames.