public interface Assembler
For the concrete implementation please also inspect Assembler
.
Modifier and Type | Method and Description |
---|---|
void |
build()
Gets the configuration from
OpenEjbConfigurationFactory
and builds the ContainerSystem and fire ContainerSystemPostCreate
event. |
void |
destroy()
Destroys the container system and all associated resources.
|
ContainerSystem |
getContainerSystem()
Gets the configured
ContainerSystem instance. |
SecurityService |
getSecurityService()
Gets the system wide configured
SecurityService instance. |
TransactionManager |
getTransactionManager()
Gets the system wide configured
TransactionManager instance. |
void |
init(java.util.Properties props)
Initialize the assembler with the given properties.
|
void init(java.util.Properties props) throws OpenEJBException
props
- initialization propertiesOpenEJBException
- if the initialization phase faces an exceptionvoid build() throws OpenEJBException
OpenEjbConfigurationFactory
and builds the ContainerSystem
and fire ContainerSystemPostCreate
event.OpenEJBException
- if the build phase faces an exceptionContainerSystem getContainerSystem()
ContainerSystem
instance.ContainerSystem
instanceTransactionManager getTransactionManager()
TransactionManager
instance.TransactionManager
instance.SecurityService getSecurityService()
SecurityService
instance.SecurityService
instance.void destroy()