| |
|
| org.objectweb.jonas_ejb.container.Container
All known Subclasses: org.objectweb.jonas_ejb.container.JContainer,
Container | public interface Container (Code) | | 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.
author: Philippe Coq author: Jeff Mesnil (security) author: Christophe Ney (PrincipalFactory) author: Philippe Durieux (add missing methods) author: Benjamin Bonnet (max size for thread pool) author: Florent Benoit : JACC |
getClassLoader | ClassLoader getClassLoader()(Code) | | the classloader used for this Container |
getContextId | String getContextId()(Code) | | Gets the context ID of this container (for jacc)
contextID used for JACC |
getEarFileName | String getEarFileName()(Code) | | get the name of the ear application containing this container.
the name of the ear application containing thiscontainer. |
getExternalFileName | String getExternalFileName()(Code) | | the external(user) file name of the container |
getFileName | String getFileName()(Code) | | the file name of the container (.xml or .jar) |
getPermissionManager | PermissionManager getPermissionManager()(Code) | | Gets the permission manager
the permission manager |
getTransactionManager | TransactionManager getTransactionManager()(Code) | | the Transaction Manager |
listBeanNames | String[] listBeanNames()(Code) | | List of beans hosted in this Container |
remove | void remove()(Code) | | Remove the JOnAS container and unregister all beans.
|
setContainerNaming | void setContainerNaming(ContainerNaming naming)(Code) | | set the ContainerNaming object
Parameters: naming - the ContainerNaming object |
setEarFileName | void setEarFileName(String fileName)(Code) | | set the name of the ear application containing this container.
Parameters: fileName - the name of the ear application containing thiscontainer. |
setJmsManager | void setJmsManager(JmsManager jms)(Code) | | set the JmsManager object
Parameters: jms - the JmsManager |
setPermissionManager | void setPermissionManager(PermissionManager permissionManager)(Code) | | Set the permission manager object
Parameters: permissionManager - permission manager object |
setPrincipalFactory | void setPrincipalFactory(PrincipalFactory pf)(Code) | | Set the PrincipalFactory. This factory can be JOnAS Server dependant.
The Container makes no assumption on how to get the Principal.
Parameters: pf - the PrincipalFactory |
setSecurity | void setSecurity(boolean b)(Code) | | Set the security flag to enable or disable security
Parameters: b - true or false to enable/disable security |
setTransactionManager | void setTransactionManager(TransactionManager tm)(Code) | | set the Transaction Manager.
Parameters: tm - the Transaction Manager. |
syncAll | void syncAll(boolean alwaysStore, boolean passivate)(Code) | | Synchronize all entity beans
Parameters: passivate - true if bean instances will be released afterhaving been written on storage. |
|
|
|