org.apache.openejb.config
Class ClientModule

java.lang.Object
  extended by org.apache.openejb.config.Module
      extended by org.apache.openejb.config.ClientModule
All Implemented Interfaces:
DeploymentModule

public class ClientModule
extends Module
implements DeploymentModule

Version:
$Rev: 1298167 $ $Date: 2012-03-07 23:24:07 +0100 (Mer, 07 mar 2012) $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.openejb.config.DeploymentModule
DeploymentModule.ID
 
Field Summary
 
Fields inherited from interface org.apache.openejb.config.DeploymentModule
OPENEJB_MODULENAME_USE_HASH
 
Constructor Summary
ClientModule(ApplicationClient applicationClient, ClassLoader classLoader, String jarLocation, String mainClass, String moduleId)
           
 
Method Summary
 ApplicationClient getApplicationClient()
           
 File getFile()
           
 org.apache.xbean.finder.IAnnotationFinder getFinder()
           
 AtomicReference<org.apache.xbean.finder.IAnnotationFinder> getFinderReference()
           
 String getJarLocation()
           
 Set<String> getLocalClients()
           
 String getMainClass()
           
 String getModuleId()
           
 URI getModuleUri()
           
 Set<String> getRemoteClients()
           
 ValidationContext getValidation()
           
 Set<String> getWatchedResources()
           
 boolean isEjbModuleGenerated()
           
 void setApplicationClient(ApplicationClient applicationClient)
           
 void setEjbModuleGenerated(boolean ejbModuleGenerated)
           
 void setFinderReference(AtomicReference<org.apache.xbean.finder.IAnnotationFinder> finder)
           
 void setJarLocation(String jarLocation)
           
 void setMainClass(String mainClass)
           
 String toString()
           
 
Methods inherited from class org.apache.openejb.config.Module
getAltDDs, getAppModule, getClassLoader, getMbeans, getProperties, getUniqueId, getValidationConfig, initAppModule, initResources, isStandaloneModule, setClassLoader, setStandaloneModule, setValidationConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.openejb.config.DeploymentModule
getAltDDs, getClassLoader, getProperties, isStandaloneModule, setStandaloneModule
 

Constructor Detail

ClientModule

public ClientModule(ApplicationClient applicationClient,
                    ClassLoader classLoader,
                    String jarLocation,
                    String mainClass,
                    String moduleId)
Method Detail

isEjbModuleGenerated

public boolean isEjbModuleGenerated()

setEjbModuleGenerated

public void setEjbModuleGenerated(boolean ejbModuleGenerated)

getFinder

public org.apache.xbean.finder.IAnnotationFinder getFinder()

setFinderReference

public void setFinderReference(AtomicReference<org.apache.xbean.finder.IAnnotationFinder> finder)

getFinderReference

public AtomicReference<org.apache.xbean.finder.IAnnotationFinder> getFinderReference()

getValidation

public ValidationContext getValidation()
Specified by:
getValidation in interface DeploymentModule

getJarLocation

public String getJarLocation()
Specified by:
getJarLocation in interface DeploymentModule

setJarLocation

public void setJarLocation(String jarLocation)

getModuleId

public String getModuleId()
Specified by:
getModuleId in interface DeploymentModule

getFile

public File getFile()
Specified by:
getFile in interface DeploymentModule

getModuleUri

public URI getModuleUri()
Specified by:
getModuleUri in interface DeploymentModule

getApplicationClient

public ApplicationClient getApplicationClient()

setApplicationClient

public void setApplicationClient(ApplicationClient applicationClient)

getLocalClients

public Set<String> getLocalClients()

getRemoteClients

public Set<String> getRemoteClients()

getMainClass

public String getMainClass()

setMainClass

public void setMainClass(String mainClass)

getWatchedResources

public Set<String> getWatchedResources()
Specified by:
getWatchedResources in interface DeploymentModule

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.