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: 1176533 $ $Date: 2011-09-27 19:07:38 +0000 (Tue, 27 Sep 2011) $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.openejb.config.DeploymentModule
DeploymentModule.ID
 
Constructor Summary
AppModule(ClassLoader classLoader, String jarLocation)
           
AppModule(ClassLoader classLoader, String jarLocation, Application application, boolean standaloneModule)
           
AppModule(T module)
           
 
Method Summary
 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()
           
 Set<String> getMBeans()
           
 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 setMBeans(Set<String> mBeans)
           
 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()

getMBeans

public Set<String> getMBeans()

setMBeans

public void setMBeans(Set<String> mBeans)

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-2011 The Apache Software Foundation. All Rights Reserved.