org.apache.geronimo.j2ee.deployment
Class AppClientModule

java.lang.Object
  extended by org.apache.geronimo.j2ee.deployment.Module
      extended by org.apache.geronimo.j2ee.deployment.AppClientModule

public class AppClientModule
extends Module

TODO there is almost certainly a problem with the serverEnvironment when deploying a stand alone app client outside an ear.


Field Summary
 
Fields inherited from class org.apache.geronimo.j2ee.deployment.Module
sharedContext
 
Constructor Summary
AppClientModule(boolean standAlone, AbstractName moduleName, AbstractName appClientName, Environment serverEnvironment, Environment clientEnvironment, JarFile moduleFile, String targetPath, org.apache.xmlbeans.XmlObject specDD, String mainClassName, org.apache.xmlbeans.XmlObject vendorDD, String originalSpecDD, Collection<ConnectorModule> resourceModules, AnnotatedApplicationClient annotatedAppClient)
           
 
Method Summary
 void addClass(URI location, String fqcn, byte[] bytes, DeploymentContext context)
           
 void close()
           
 AbstractName getAppClientName()
           
 JarFile getEarFile()
           
 String getMainClassName()
           
 Collection<ConnectorModule> getResourceModules()
           
 Environment getServerEnvironment()
           
 ConfigurationModuleType getType()
           
 void setEarFile(JarFile earFile)
           
 
Methods inherited from class org.apache.geronimo.j2ee.deployment.Module
equals, getAnnotatedApp, getClassFinder, getConfigId, getEarContext, getEnvironment, getModuleFile, getModuleName, getModuleURI, getName, getNamespace, getOriginalSpecDD, getRelativePath, getRootEarContext, getSharedContext, getSpecDD, getTargetPath, getTargetPathURI, getVendorDD, hashCode, isStandAlone, setAnnotatedApp, setClassFinder, setEarContext, setOriginalSpecDD, setRootEarContext, setSpecDD
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppClientModule

public AppClientModule(boolean standAlone,
                       AbstractName moduleName,
                       AbstractName appClientName,
                       Environment serverEnvironment,
                       Environment clientEnvironment,
                       JarFile moduleFile,
                       String targetPath,
                       org.apache.xmlbeans.XmlObject specDD,
                       String mainClassName,
                       org.apache.xmlbeans.XmlObject vendorDD,
                       String originalSpecDD,
                       Collection<ConnectorModule> resourceModules,
                       AnnotatedApplicationClient annotatedAppClient)
Method Detail

getType

public ConfigurationModuleType getType()
Specified by:
getType in class Module

getServerEnvironment

public Environment getServerEnvironment()

getEarFile

public JarFile getEarFile()

setEarFile

public void setEarFile(JarFile earFile)

getAppClientName

public AbstractName getAppClientName()

getMainClassName

public String getMainClassName()

addClass

public void addClass(URI location,
                     String fqcn,
                     byte[] bytes,
                     DeploymentContext context)
              throws IOException,
                     URISyntaxException
Throws:
IOException
URISyntaxException

getResourceModules

public Collection<ConnectorModule> getResourceModules()

close

public void close()
Overrides:
close in class Module


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