1 17 package org.apache.geronimo.j2ee.deployment; 18 19 import java.io.IOException ; 20 import java.net.URI ; 21 import java.net.URISyntaxException ; 22 import java.util.jar.JarFile ; 23 24 import org.apache.geronimo.deployment.DeploymentContext; 25 import org.apache.geronimo.gbean.AbstractName; 26 import org.apache.geronimo.kernel.config.ConfigurationModuleType; 27 import org.apache.geronimo.kernel.repository.Environment; 28 import org.apache.xmlbeans.XmlObject; 29 30 33 public class ConnectorModule extends Module { 34 public ConnectorModule(boolean standAlone, AbstractName moduleName, Environment environment, JarFile moduleFile, String targetPath, XmlObject specDD, XmlObject vendorDD, String originalSpecDD) { 35 super(standAlone, moduleName, environment, moduleFile, targetPath, specDD, vendorDD, originalSpecDD, null); 36 } 37 38 public ConfigurationModuleType getType() { 39 return ConfigurationModuleType.RAR; 40 } 41 42 public void addClass(URI location, String fqcn, byte[] bytes, DeploymentContext context) throws IOException , URISyntaxException { 43 context.addClass(location, fqcn, bytes); 44 } 45 } 46 47 | Popular Tags |