org.apache.geronimo.openejb.deployment
Class EjbModuleBuilder
java.lang.Object
org.apache.geronimo.openejb.deployment.EjbModuleBuilder
- All Implemented Interfaces:
- ModuleBuilder
public class EjbModuleBuilder
- extends Object
- implements ModuleBuilder
Master builder for processing EJB JAR deployments and creating the
correspinding runtime objects (GBeans, etc.).
Method Summary |
void |
addGBeans(EARContext earContext,
Module module,
ClassLoader cl,
Collection repositories)
Does the meaty work of processing the deployment information and
creating GBeans for all the EJBs in the JAR, etc. |
Module |
createModule(File plan,
JarFile moduleFile,
Naming naming,
ModuleIDBuilder idBuilder)
|
Module |
createModule(Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
Environment environment,
Object moduleContextInfo,
AbstractName earName,
Naming naming,
ModuleIDBuilder idBuilder)
|
static GBeanInfo |
getGBeanInfo()
|
String |
getSchemaNamespace()
|
void |
initContext(EARContext earContext,
Module module,
ClassLoader classLoader)
|
void |
installModule(JarFile earFile,
EARContext earContext,
Module module,
Collection configurationStores,
ConfigurationStore targetConfigurationStore,
Collection repository)
|
protected static void |
unmapReferences(org.apache.openejb.jee.EjbJar ejbJar,
org.apache.openejb.jee.oejb2.GeronimoEjbJarType geronimoEjbJarType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
EjbModuleBuilder
public EjbModuleBuilder(Environment defaultEnvironment,
String defaultCmpJTADataSource,
String defaultCmpNonJTADataSource,
OpenEjbSystem openEjbSystem,
Collection<ModuleBuilderExtension> moduleBuilderExtensions,
Collection securityBuilders,
Collection serviceBuilders,
NamingBuilder namingBuilders,
ResourceEnvironmentSetter resourceEnvironmentSetter)
getSchemaNamespace
public String getSchemaNamespace()
- Specified by:
getSchemaNamespace
in interface ModuleBuilder
createModule
public Module createModule(File plan,
JarFile moduleFile,
Naming naming,
ModuleIDBuilder idBuilder)
throws DeploymentException
- Specified by:
createModule
in interface ModuleBuilder
- Throws:
DeploymentException
createModule
public Module createModule(Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
Environment environment,
Object moduleContextInfo,
AbstractName earName,
Naming naming,
ModuleIDBuilder idBuilder)
throws DeploymentException
- Specified by:
createModule
in interface ModuleBuilder
- Throws:
DeploymentException
unmapReferences
protected static void unmapReferences(org.apache.openejb.jee.EjbJar ejbJar,
org.apache.openejb.jee.oejb2.GeronimoEjbJarType geronimoEjbJarType)
installModule
public void installModule(JarFile earFile,
EARContext earContext,
Module module,
Collection configurationStores,
ConfigurationStore targetConfigurationStore,
Collection repository)
throws DeploymentException
- Specified by:
installModule
in interface ModuleBuilder
- Throws:
DeploymentException
initContext
public void initContext(EARContext earContext,
Module module,
ClassLoader classLoader)
throws DeploymentException
- Specified by:
initContext
in interface ModuleBuilder
- Throws:
DeploymentException
addGBeans
public void addGBeans(EARContext earContext,
Module module,
ClassLoader cl,
Collection repositories)
throws DeploymentException
- Does the meaty work of processing the deployment information and
creating GBeans for all the EJBs in the JAR, etc.
- Specified by:
addGBeans
in interface ModuleBuilder
- Throws:
DeploymentException
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.