|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Container is what a JOnAS Server 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()
|
ContainerNaming |
getContainerNaming()
|
java.lang.String |
getEarFileName()
get the name of the ear application containing this container. |
java.lang.String |
getFileName()
|
JmsManager |
getJmsManager()
|
java.security.Guard |
getMethodGuard()
|
java.lang.String |
getName()
|
PrincipalFactory |
getPrincipalFactory()
|
java.security.Guard |
getRoleGuard()
|
javax.transaction.TransactionManager |
getTransactionManager()
|
java.lang.String[] |
listBeanNames()
|
void |
remove()
Remove the JOnAS container and unregister all beans. |
void |
setContainerNaming(ContainerNaming naming)
set the ContainerNaming object |
void |
setEarFileName(java.lang.String fileName)
set the name of the ear application containing this container. |
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 Role Guard |
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)
methodGuard
- The Guard to be set for methods.public java.security.Guard getMethodGuard()
public void setRoleGuard(java.security.Guard roleGuard)
roleGuard
- The Guard to be set for roles.public java.security.Guard getRoleGuard()
public java.lang.ClassLoader getClassLoader()
public void setPrincipalFactory(PrincipalFactory pf)
pf
- the PrincipalFactorypublic PrincipalFactory getPrincipalFactory()
public void setContainerNaming(ContainerNaming naming)
naming
- the ContainerNaming objectpublic ContainerNaming getContainerNaming()
public void setThreadPoolSize(int sz)
sz
- number of threads in the pool.public void syncAll(boolean passivate)
passivate
- true if bean instances will be released after
having been written on storage.public void setTransactionManager(javax.transaction.TransactionManager tm)
tm
- the Transaction Manager.public javax.transaction.TransactionManager getTransactionManager()
public void setJmsManager(JmsManager jms)
jms
- the JmsManagerpublic JmsManager getJmsManager()
public void setEarFileName(java.lang.String fileName)
fileName
- the name of the ear application containing this
container.public java.lang.String getEarFileName()
public void remove()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |