[jboss-dev-forums] [EJB3 Development] - Is it possible to get a full class name from ObjectName?

Igor Urdenko do-not-reply at jboss.com
Mon Dec 19 11:03:19 EST 2011


Igor Urdenko [http://community.jboss.org/people/ingvarwolf] created the discussion

"Is it possible to get a full class name from ObjectName?"

To view the discussion, visit: http://community.jboss.org/message/642275#642275

--------------------------------------------------------------
Hi everybody,

I have a notification listener which waits untill JBoss started an then lists all deployed EJBs. The list contains ObjectName instances. The object name has a name of the class but without a package. For example for class org.mycompany.ejb3.SomeEJB ObjectName instance has only 'SomeEJB'.

The question is how can I get the fully qualified class name, or better to create the instance of the EJB?

Thank you.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642275#642275]

Start a new discussion in EJB3 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111219/5770f66a/attachment.html 


More information about the jboss-dev-forums mailing list