[jboss-user] [EJB3] - Re: Get ear name
Sverker Abrahamsson
do-not-reply at jboss.com
Mon Jan 3 07:54:11 EST 2011
Sverker Abrahamsson [http://community.jboss.org/people/sverker] created the discussion
"Re: Get ear name"
To view the discussion, visit: http://community.jboss.org/message/578342#578342
--------------------------------------------------------------
The ServiceLocator has methods like this for all Service beans:
public final SystemStatusService getSystemStatusService(Properties env) throws NamingException {
return (SystemStatusService) getContext(env).lookup(getEarName() + "SystemStatusService/remote");
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578342#578342]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110103/e147b9dd/attachment.html
More information about the jboss-user
mailing list