org.apache.geronimo.j2ee.deployment
Interface ModuleBuilder

All Known Implementing Classes:
SwitchingModuleBuilder, UnavailableModuleBuilder

public interface ModuleBuilder

Version:
$Rev:386276 $ $Date: 2006-04-29 03:13:14 +0200 (Sat, 29 Apr 2006) $

Method Summary
 void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection repository)
           
 Module createModule(File plan, JarFile moduleFile, org.apache.geronimo.kernel.Naming naming, org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
           
 Module createModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, org.apache.geronimo.kernel.repository.Environment environment, Object moduleContextInfo, org.apache.geronimo.gbean.AbstractName earName, org.apache.geronimo.kernel.Naming naming, org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
           
 String getSchemaNamespace()
           
 void initContext(EARContext earContext, Module module, ClassLoader cl)
           
 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore, Collection repository)
           
 

Method Detail

createModule

public Module createModule(File plan,
                           JarFile moduleFile,
                           org.apache.geronimo.kernel.Naming naming,
                           org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
                    throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

createModule

public Module createModule(Object plan,
                           JarFile moduleFile,
                           String targetPath,
                           URL specDDUrl,
                           org.apache.geronimo.kernel.repository.Environment environment,
                           Object moduleContextInfo,
                           org.apache.geronimo.gbean.AbstractName earName,
                           org.apache.geronimo.kernel.Naming naming,
                           org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
                    throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

installModule

public void installModule(JarFile earFile,
                          EARContext earContext,
                          Module module,
                          Collection configurationStores,
                          org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore,
                          Collection repository)
                   throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

initContext

public void initContext(EARContext earContext,
                        Module module,
                        ClassLoader cl)
                 throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

addGBeans

public void addGBeans(EARContext earContext,
                      Module module,
                      ClassLoader cl,
                      Collection repository)
               throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getSchemaNamespace

public String getSchemaNamespace()


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