Home » geronimo-2.2-source-release » org.apache.geronimo.j2ee.deployment » [javadoc | source]
org.apache.geronimo.j2ee.deployment
abstract public class: Module [javadoc | source]
java.lang.Object
   org.apache.geronimo.j2ee.deployment.Module

Direct Known Subclasses:
    ConnectorModule, WebModule, EjbModule, ApplicationInfo, EJBModule, AppClientModule

Field Summary
protected final  Map sharedContext     
Constructor:
 protected Module(boolean standAlone,
    AbstractName moduleName,
    Environment environment,
    JarFile moduleFile,
    String targetPath,
    XmlObject specDD,
    XmlObject vendorDD,
    String originalSpecDD,
    String namespace,
    AnnotatedApp annotatedApp) 
Method from org.apache.geronimo.j2ee.deployment.Module Summary:
close,   equals,   getAnnotatedApp,   getClassFinder,   getConfigId,   getEarContext,   getEnvironment,   getModuleFile,   getModuleName,   getModuleURI,   getName,   getNamespace,   getOriginalSpecDD,   getRelativePath,   getRootEarContext,   getSharedContext,   getSpecDD,   getTargetPath,   getTargetPathURI,   getType,   getVendorDD,   hashCode,   isStandAlone,   setAnnotatedApp,   setClassFinder,   setEarContext,   setOriginalSpecDD,   setRootEarContext,   setSpecDD
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.j2ee.deployment.Module Detail:
 public  void close() 
 public boolean equals(Object obj) 
 public AnnotatedApp getAnnotatedApp() 
 public ClassFinder getClassFinder() 
 public Artifact[] getConfigId() 
 public EARContext getEarContext() 
 public Environment getEnvironment() 
 public JarFile getModuleFile() 
 public AbstractName getModuleName() 
 public URI getModuleURI() 
 public String getName() 
 public String getNamespace() 
 public String getOriginalSpecDD() 
 public String getRelativePath(String path) 
    Given a path in the ear module, return something that will resolve to that location against the eventual configuration base uri. Currently for all modules except wars that is the original path. If we create separate configurations for ejb or rar modules, those Module subclasses will need to reimplement this method. Example: if a war is myweb.war, and you pass in myweb.war/WEB-INF/lib/foo.jar, you get WEB-INF/lib/foo.jar if you pass in myFoo.jar, you get ../myFoo.jar
 public EARContext getRootEarContext() 
 public Map getSharedContext() 
 public XmlObject getSpecDD() 
 public String getTargetPath() 
 public URI getTargetPathURI() 
 abstract public ConfigurationModuleType getType()
 public XmlObject getVendorDD() 
 public int hashCode() 
 public boolean isStandAlone() 
 public  void setAnnotatedApp(AnnotatedApp annotatedApp) 
 public  void setClassFinder(ClassFinder classFinder) 
 public  void setEarContext(EARContext earContext) 
 public  void setOriginalSpecDD(String originalSpecDD) 
 public  void setRootEarContext(EARContext rootEarContext) 
 public  void setSpecDD(XmlObject specDD)