|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.corba.deployment.CorbaModuleBuilderExtension
public class CorbaModuleBuilderExtension
Field Summary | |
---|---|
protected Environment |
defaultEnvironment
|
static GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
---|---|
CorbaModuleBuilderExtension()
|
|
CorbaModuleBuilderExtension(Environment defaultEnvironment)
|
Method Summary | |
---|---|
void |
addGBeans(EARContext earContext,
Module module,
ClassLoader cl,
Collection repository)
Add any GBeans to the deployment that might be required by the presence of tss-link definitions in the ejb plans. |
void |
createModule(Module module,
Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
Environment environment,
Object moduleContextInfo,
AbstractName earName,
Naming naming,
ModuleIDBuilder idBuilder)
Early module creation. |
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
static GBeanInfo |
getGBeanInfo()
|
void |
initContext(EARContext earContext,
Module module,
ClassLoader cl)
|
void |
installModule(JarFile earFile,
EARContext earContext,
Module module,
Collection configurationStores,
ConfigurationStore targetConfigurationStore,
Collection repository)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Environment defaultEnvironment
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public CorbaModuleBuilderExtension() throws Exception
Exception
public CorbaModuleBuilderExtension(Environment defaultEnvironment)
Method Detail |
---|
public void doStart() throws Exception
GBeanLifecycle
doStart
in interface GBeanLifecycle
Exception
- if the target failed to start; this will cause a transition to the failed statepublic void doStop()
GBeanLifecycle
doStop
in interface GBeanLifecycle
public void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
public void createModule(Module module, Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder) throws DeploymentException
createModule
in interface ModuleBuilderExtension
module
- The module being deployed.plan
- The module planmoduleFile
- The jar file containing the module.targetPath
- The module path.specDDUrl
- The schema information.environment
- The current environment (used for the merge).moduleContextInfo
- The module context.earName
- The name of the ear file.naming
- The naming context.idBuilder
-
DeploymentException
public void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repository) throws DeploymentException
installModule
in interface ModuleBuilderExtension
DeploymentException
public void initContext(EARContext earContext, Module module, ClassLoader cl) throws DeploymentException
initContext
in interface ModuleBuilderExtension
DeploymentException
public void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection repository) throws DeploymentException
addGBeans
in interface ModuleBuilderExtension
earContext
- The earContext of the module deployment.module
- The module being deployed.cl
- The module class loader instance.repository
- The repository.
DeploymentException
- Thrown if any of the tss-link information cannot
be resolved (missing ejb or TSSBean).public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |