1 17 package org.apache.geronimo.j2ee.deployment; 18 19 import java.io.File ; 20 import java.net.URL ; 21 import java.util.Collection ; 22 import java.util.jar.JarFile ; 23 24 import org.apache.geronimo.common.DeploymentException; 25 import org.apache.geronimo.gbean.AbstractName; 26 import org.apache.geronimo.kernel.Naming; 27 import org.apache.geronimo.kernel.config.ConfigurationStore; 28 import org.apache.geronimo.kernel.repository.Environment; 29 import org.apache.geronimo.deployment.ModuleIDBuilder; 30 31 34 public interface ModuleBuilder { 35 Module createModule(File plan, JarFile moduleFile, Naming naming, ModuleIDBuilder idBuilder) throws DeploymentException; 36 37 Module createModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder) throws DeploymentException; 38 39 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repository) throws DeploymentException; 40 41 void initContext(EARContext earContext, Module module, ClassLoader cl) throws DeploymentException; 42 43 void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection repository) throws DeploymentException; 44 45 String getSchemaNamespace(); 46 } 47 | Popular Tags |