1 17 package org.apache.geronimo.j2ee.deployment; 18 19 import java.util.Map ; 20 import java.util.jar.JarFile ; 21 22 import org.apache.geronimo.gbean.AbstractName; 23 import org.apache.geronimo.kernel.config.ConfigurationModuleType; 24 import org.apache.geronimo.kernel.repository.Environment; 25 import org.apache.xmlbeans.XmlObject; 26 27 30 public class WebModule extends Module { 31 private final String contextRoot; 32 private final Map sharedContext; 33 34 public WebModule(boolean standAlone, AbstractName moduleName, Environment environment, JarFile moduleFile, String targetPath, XmlObject specDD, XmlObject vendorDD, String originalSpecDD, String contextRoot, Map sharedContext, String namespace) { 35 super(standAlone, moduleName, environment, moduleFile, targetPath, specDD, vendorDD, originalSpecDD, namespace); 36 this.contextRoot = contextRoot; 37 this.sharedContext = sharedContext; 38 } 39 40 public String getContextRoot() { 41 return contextRoot; 42 } 43 44 public ConfigurationModuleType getType() { 45 return ConfigurationModuleType.WAR; 46 } 47 48 public Map getSharedContext() { 49 return sharedContext; 50 } 51 52 } 53 54 | Popular Tags |