|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.smartcc.LocalSessionContainer
A container for local session beans. The container populates the local jndi namespace of the session bean with env-entries and home interface proxies for ejb-refs and ejb-local-refs.
Constructor Summary | |
LocalSessionContainer(java.lang.ClassLoader classLoader)
|
Method Summary | |
protected void |
bindEJBRefs()
|
protected void |
bindEnvEntries()
|
javax.ejb.EJBLocalObject |
create(java.lang.Object[] args)
Return the shared instance (stateless) or create a new instance (stateful) of the local interface proxy. |
protected javax.ejb.EJBLocalObject |
createInstance(java.lang.Object[] args)
|
protected void |
destroy(javax.ejb.EJBLocalObject ejb)
|
java.lang.Class |
getBeanClass()
The session bean implementation class |
protected java.lang.ClassLoader |
getClassLoader()
|
javax.ejb.EJBLocalHome |
getHome()
Get / create the home interface proxy. |
java.lang.Class |
getLocalHomeInterfaceClass()
The local home interface class |
java.lang.Class |
getLocalInterfaceClass()
The local interface class |
SessionMetaData |
getMetaData()
Get the SessionMetaData. |
boolean |
isStatelessSession()
Tell, wether the session bean is stateless |
protected void |
setContextClassLoader()
|
void |
setMetaData(SessionMetaData sessionMetaData)
Set the SessionMetaData that configures this container. |
protected void |
unsetContextClassLoader()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalSessionContainer(java.lang.ClassLoader classLoader)
Method Detail |
public void setMetaData(SessionMetaData sessionMetaData)
sessionMetaData
- the value for sessionMetaDataprotected java.lang.ClassLoader getClassLoader()
public SessionMetaData getMetaData()
public java.lang.Class getLocalHomeInterfaceClass()
public java.lang.Class getLocalInterfaceClass()
public boolean isStatelessSession()
public java.lang.Class getBeanClass()
public javax.ejb.EJBLocalHome getHome()
public javax.ejb.EJBLocalObject create(java.lang.Object[] args) throws java.lang.Exception
java.lang.Exception
protected void destroy(javax.ejb.EJBLocalObject ejb)
protected javax.ejb.EJBLocalObject createInstance(java.lang.Object[] args) throws java.lang.Exception
java.lang.Exception
protected void setContextClassLoader()
protected void unsetContextClassLoader()
protected void bindEnvEntries()
protected void bindEJBRefs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |