org.apache.openejb.config
Class AppModule
java.lang.Object
org.apache.openejb.config.AppModule
- All Implemented Interfaces:
- DeploymentModule
public class AppModule
- extends Object
- implements DeploymentModule
- Version:
- $Rev: 1376560 $ $Date: 2012-08-23 17:58:44 +0200 (Jeu, 23 aoĆ» 2012) $
AppModule
public AppModule(ClassLoader classLoader,
String jarLocation)
AppModule
public AppModule(T module)
AppModule
public AppModule(ClassLoader classLoader,
String jarLocation,
Application application,
boolean standaloneModule)
isDelegateFirst
public boolean isDelegateFirst()
setDelegateFirst
public void setDelegateFirst(boolean delegateFirst)
getProperties
public Properties getProperties()
- Specified by:
getProperties in interface DeploymentModule
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()
getServices
public Collection<Service> getServices()
getDeploymentModule
public Collection<DeploymentModule> getDeploymentModule()
toString
public String toString()
- Overrides:
toString in class Object
setStandloneWebModule
public void setStandloneWebModule()
isWebapp
public boolean isWebapp()
getJaxRsProviders
public Collection<String> getJaxRsProviders()
addPersistenceModule
public void addPersistenceModule(PersistenceModule root)
addPersistenceModules
public void addPersistenceModules(Collection<PersistenceModule> roots)
getTransactionType
public TransactionType getTransactionType(String unit)
getPojoConfigurations
public Map<String,PojoConfiguration> getPojoConfigurations()
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.