org.apache.openejb.config
Class AppModule

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

public class AppModule
extends Object
implements DeploymentModule

Version:
$Rev: 1298952 $ $Date: 2012-03-09 10:14:49 -0800 (Fri, 09 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
AppModule(ClassLoader classLoader, String jarLocation)
           
AppModule(ClassLoader classLoader, String jarLocation, Application application, boolean standaloneModule)
           
AppModule(T module)
           
 
Method Summary
 Set<String> getAdditionalLibMbeans()
           
 List<URL> getAdditionalLibraries()
           
 Map<String,Object> getAltDDs()
           
 Application getApplication()
           
 ClassLoader getClassLoader()
           
 List<ClientModule> getClientModules()
           
 EntityMappings getCmpMappings()
           
 List<ConnectorModule> getConnectorModules()
           
 Collection<DeploymentModule> getDeploymentModule()
           
 List<EjbModule> getEjbModules()
           
 File getFile()
           
 String getJarLocation()
           
 String getModuleId()
           
 URI getModuleUri()
           
 List<PersistenceModule> getPersistenceModules()
           
 Properties getProperties()
           
 Collection<Resource> getResources()
           
 ValidationContext getValidation()
           
 List<ValidationContext> getValidationContexts()
           
 Set<String> getWatchedResources()
           
 List<WebModule> getWebModules()
           
 boolean hasErrors()
           
 boolean hasFailures()
           
 boolean hasWarnings()
           
 boolean isStandaloneModule()
           
 void setCmpMappings(EntityMappings cmpMappings)
           
 void setModuleId(String moduleId)
           
 void setStandaloneModule(boolean isStandalone)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppModule

public AppModule(ClassLoader classLoader,
                 String jarLocation)

AppModule

public AppModule(T module)

AppModule

public AppModule(ClassLoader classLoader,
                 String jarLocation,
                 Application application,
                 boolean standaloneModule)
Method Detail

getProperties

public Properties getProperties()

getAdditionalLibMbeans

public Set<String> getAdditionalLibMbeans()

isStandaloneModule

public boolean isStandaloneModule()
Specified by:
isStandaloneModule in interface DeploymentModule

setStandaloneModule

public void setStandaloneModule(boolean isStandalone)
Specified by:
setStandaloneModule in interface DeploymentModule

getValidation

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

hasWarnings

public boolean hasWarnings()

hasFailures

public boolean hasFailures()

hasErrors

public boolean hasErrors()

getValidationContexts

public List<ValidationContext> getValidationContexts()

getJarLocation

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

setModuleId

public void setModuleId(String moduleId)

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

getAltDDs

public Map<String,Object> getAltDDs()
Specified by:
getAltDDs in interface DeploymentModule

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface DeploymentModule

getApplication

public Application getApplication()

getClientModules

public List<ClientModule> getClientModules()

getEjbModules

public List<EjbModule> getEjbModules()

getPersistenceModules

public List<PersistenceModule> getPersistenceModules()

getAdditionalLibraries

public List<URL> getAdditionalLibraries()

getCmpMappings

public EntityMappings getCmpMappings()

setCmpMappings

public void setCmpMappings(EntityMappings cmpMappings)

getConnectorModules

public List<ConnectorModule> getConnectorModules()

getWebModules

public List<WebModule> getWebModules()

getWatchedResources

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

getResources

public Collection<Resource> getResources()

getDeploymentModule

public Collection<DeploymentModule> getDeploymentModule()

toString

public String toString()
Overrides:
toString in class Object


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