org.apache.geronimo.corba.deployment
Class CorbaModuleBuilderExtension

java.lang.Object
  extended by org.apache.geronimo.corba.deployment.CorbaModuleBuilderExtension
All Implemented Interfaces:
ModuleBuilderExtension

public class CorbaModuleBuilderExtension
extends Object
implements ModuleBuilderExtension


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.
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

defaultEnvironment

protected Environment defaultEnvironment

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

CorbaModuleBuilderExtension

public CorbaModuleBuilderExtension()
                            throws Exception
Throws:
Exception

CorbaModuleBuilderExtension

public CorbaModuleBuilderExtension(Environment defaultEnvironment)
Method Detail

createModule

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
Early module creation. If this module contains and CORBA enablement links, the corba default environment is merged in.

Specified by:
createModule in interface ModuleBuilderExtension
Parameters:
module - The module being deployed.
plan - The module plan
moduleFile - 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 -
Throws:
DeploymentException

installModule

public void installModule(JarFile earFile,
                          EARContext earContext,
                          Module module,
                          Collection configurationStores,
                          ConfigurationStore targetConfigurationStore,
                          Collection repository)
                   throws DeploymentException
Specified by:
installModule in interface ModuleBuilderExtension
Throws:
DeploymentException

initContext

public void initContext(EARContext earContext,
                        Module module,
                        ClassLoader cl)
                 throws DeploymentException
Specified by:
initContext in interface ModuleBuilderExtension
Throws:
DeploymentException

addGBeans

public void addGBeans(EARContext earContext,
                      Module module,
                      ClassLoader cl,
                      Collection repository)
               throws DeploymentException
Add any GBeans to the deployment that might be required by the presence of tss-link definitions in the ejb plans.

Specified by:
addGBeans in interface ModuleBuilderExtension
Parameters:
earContext - The earContext of the module deployment.
module - The module being deployed.
cl - The module class loader instance.
repository - The repository.
Throws:
DeploymentException - Thrown if any of the tss-link information cannot be resolved (missing ejb or TSSBean).

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.