org.openejb.alt.assembler.classic
Class Assembler
java.lang.Object
org.openejb.alt.assembler.classic.AssemblerTool
org.openejb.alt.assembler.classic.Assembler
- All Implemented Interfaces:
- Assembler
public class Assembler
- extends AssemblerTool
- implements Assembler
This method performs the following actions(in order):
1 Assembles Containers and Deployments
1.1 Assembles StatefulContainer(s)
1.1.1 Assembles Stateful SessionBean Deployments
1.2 Assembles StatelessContainer(s)
1.2.1 Assembles Stateless SessionBean Deployments
1.3 Assembles EntityContainer(s)
1.3.1 Assembles EntityBean Deployments
2 Assembles SecurityService
3 Assembles TransactionService
4 Assembles ConnectionManager(s)
5 Assembles Connector(s)
7 Applies MethodPermission(s)
8 Applies SecurityRole(s)
8 Applies TransactionAttribute(s)
10 Assembles ProxyFactory
11 Assembles bean JNDI namespaces
- Author:
- David Blevins, Richard Monson-Haefel
- See Also:
Assembler,
OpenEjbConfigurationFactory
| Methods inherited from class org.openejb.alt.assembler.classic.AssemblerTool |
applyMethodPermissions, applyMethodPermissions, applyProperties, applyProxyFactory, applyRoleMappings, applySecurityRoleReference, applyTransactionAttributes, assembleConnectionManager, assembleContainers, assembleManagedConnectionFactory, assembleRemoteJndiContext, assembleSecurityService, assembleTransactionManager, checkImplementation, handleException, handleException, handleException, handleException, handleException, logWarning, logWarning, logWarning, logWarning, logWarning, resolveMethodInfo, resolveMethods |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toolkit
protected SafeToolkit toolkit
config
protected OpenEjbConfiguration config
Assembler
public Assembler()
getContainerSystem
public ContainerSystem getContainerSystem()
- Specified by:
getContainerSystem in interface Assembler
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()
- Description copied from interface:
Assembler
- Gets the
TransactionManager that this container manager exposes to the Containers it manages.
- Specified by:
getTransactionManager in interface Assembler
- Returns:
- the TransactionManager to be used by this container manager's containers when servicing beans
- See Also:
- "javax.transaction.TransactionManager",
TransactionService.getTransactionManager()
getSecurityService
public SecurityService getSecurityService()
- Description copied from interface:
Assembler
- Gets the
SecurityService that this container manager exposes to the Containers it manages.
- Specified by:
getSecurityService in interface Assembler
- Returns:
- the SecurityService to be used by this container manager's containers when servicing beans
- See Also:
SecurityService
init
public void init(java.util.Properties props)
throws OpenEJBException
- Specified by:
init in interface Assembler
- Throws:
OpenEJBException
build
public void build()
throws OpenEJBException
- Specified by:
build in interface Assembler
- Throws:
OpenEJBException
buildContainerSystem
public ContainerSystem buildContainerSystem(OpenEjbConfiguration configInfo)
throws java.lang.Exception
- When given a complete OpenEjbConfiguration graph this method,
will construct an entire container system and return a reference to that
container system, as ContainerSystem instance.
This method leverage the other assemble and apply methods which
can be used independently.
Assembles and returns the
ContainerSystem using the
information from the OpenEjbConfiguration object passed in.
This method performs the following actions(in order):
1 Assembles ProxyFactory
2 Assembles Containers and Deployments
3 Assembles SecurityService
4 Apply method permissions, role refs, and tx attributes
5 Assembles TransactionService
6 Assembles ConnectionManager(s)
7 Assembles Connector(s)
- Parameters:
configInfo -
- Returns:
- ContainerSystem
- Throws:
java.lang.Exception - if there was a problem constructing the ContainerSystem.
java.lang.Exception- See Also:
OpenEjbConfiguration
Copyright © 1999-2013 OpenEJB. All Rights Reserved.