|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Container is what an EJBServer can see of a JOnAS Container. It holds all beans coming from a same ejbjar file. There is no possibility to add or remove dynamically beans in a Container since it is build with all its beans. JMX can use this interface, but no specific Jmx classes should be inside the Container. Its management is done outside jonas_ejb.
Method Summary | |
java.lang.ClassLoader |
getClassLoader()
Returns the classloader used for this Container |
org.enhydra.naming.ContainerNaming |
getContainerNaming()
return the ContainerNaming object |
java.lang.String |
getFileName()
Return the file name of the container (.xml or .jar) |
JmsManager |
getJmsManager()
return the JmsManager object |
java.security.Guard |
getMethodGuard()
Get the MethodGuard |
java.lang.String |
getName()
Return the name of the container |
PrincipalFactory |
getPrincipalFactory()
Get the PrincipalFactory |
java.security.Guard |
getRoleGuard()
Get the RoleGuard |
javax.transaction.TransactionManager |
getTransactionManager()
return the Transaction Manager |
java.lang.String[] |
listBeanNames()
Returns a list of beans hosted in the container. |
void |
remove()
Remove the JOnAS container and unregister all beans. |
void |
setContainerNaming(org.enhydra.naming.ContainerNaming naming)
set the ContainerNaming object |
void |
setJmsManager(JmsManager jms)
set the JmsManager object |
void |
setMethodGuard(java.security.Guard methodGuard)
Set the MethodGuard |
void |
setPrincipalFactory(PrincipalFactory pf)
Set the PrincipalFactory. |
void |
setRoleGuard(java.security.Guard roleGuard)
Set the RoleGuard |
void |
setThreadPoolSize(int sz)
Set the thread pool size. |
void |
setTransactionManager(javax.transaction.TransactionManager tm)
set the Transaction Manager. |
void |
syncAll(boolean passivate)
Synchronize all entity beans |
Method Detail |
public java.lang.String[] listBeanNames()
public java.lang.String getName()
public java.lang.String getFileName()
public void setMethodGuard(java.security.Guard methodGuard)
public java.security.Guard getMethodGuard()
public void setRoleGuard(java.security.Guard roleGuard)
public java.security.Guard getRoleGuard()
public java.lang.ClassLoader getClassLoader()
public void setPrincipalFactory(PrincipalFactory pf)
public PrincipalFactory getPrincipalFactory()
public void setContainerNaming(org.enhydra.naming.ContainerNaming naming)
public org.enhydra.naming.ContainerNaming getContainerNaming()
public void setThreadPoolSize(int sz)
sz
- number of threads in the pool.public void syncAll(boolean passivate)
public void setTransactionManager(javax.transaction.TransactionManager tm)
public javax.transaction.TransactionManager getTransactionManager()
public void setJmsManager(JmsManager jms)
public JmsManager getJmsManager()
public void remove()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |