[jboss-dev-forums] [Design of EJB 3.0] - Re: How to Resolve JNDI Name from beanInterface?

scott.stark@jboss.org do-not-reply at jboss.com
Mon May 5 19:57:44 EDT 2008


So I am going to add a non-managed getResolvedJndiName(String iface) to the JBossEnterpriseBeanMetaData so that there is a stable api to call. This will be implemented to use the default jndi policy if set, the following default implementation if not set:

- String getJndiName(EjbDeploymentSummary summary) : return the ejb resolved jndi name or mapped name.
- String getDefaultRemoteJndiName(EjbDeploymentSummary summary) : returns getJndiName(summary) } + "/remote"
- String getDefaultRemoteHomeJndiName(EjbDeploymentSummary summary) : returns getJndiName(summary) } + "/home"
- String getDefaultLocalHomeJndiName(EjbDeploymentSummary summary) : returns getJndiName(summary) } + "/local-home"
- String getDefaultLocalJndiName(EjbDeploymentSummary summary) : returns getJndiName(summary) } + "/local"


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148713#4148713

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148713



More information about the jboss-dev-forums mailing list