JBoss Community

Re: EJBTHREE-2198 EJB resource providers for switchboard and the dependency issues

created by Ales Justin in EJB3 Development - View the full discussion

I would need a bit more info / explanation on how to get these custom jndi names for each diff type.

1) the legacy @SLSB and @SFSB is done in EJBContainer of jboss-ejb3-core (see the start)

How do I get a hold of this EJBContainer?

Afais, this is a MC bean under the JBossEnterpriseBeanMetaData::getContainerName?

 

2) for @Singleton container it in done in SingletonBeanJNDIBinderDeployer in jboss-ejb3-singleton project
3) for no-interface views it's done in EJB3NoInterfaceViewDeployer in jboss-ejb3-nointerface project

OK, this two are obviously MC beans. :-)

 

For all 3 "jndi" binders:

a) Which is the code that does the custom JBoss jndi binding?

b) Can it be already used from external bean/resource or does it need to be extracted / refactored?

 

I can determine (b) myself, once I can identify the jndi binding code. ;-)

Reply to this message by going to Community

Start a new discussion in EJB3 Development at Community