public class AppModule extends java.lang.Object implements DeploymentModule
DeploymentModule.ID
Modifier and Type | Field and Description |
---|---|
static boolean |
DELEGATE_FIRST_DEFAULT |
OPENEJB_MODULENAME_USE_HASH
Constructor and Description |
---|
AppModule(java.lang.ClassLoader classLoader,
java.lang.String jarLocation) |
AppModule(java.lang.ClassLoader classLoader,
java.lang.String jarLocation,
Application application,
boolean standaloneModule) |
AppModule(T... modules) |
Modifier and Type | Method and Description |
---|---|
void |
addPersistenceModule(PersistenceModule root) |
void |
addPersistenceModules(java.util.Collection<PersistenceModule> roots) |
AppModule |
appModule() |
java.util.Set<java.lang.String> |
getAdditionalLibMbeans() |
java.util.List<java.net.URL> |
getAdditionalLibraries() |
java.util.Map<java.lang.String,java.lang.Object> |
getAltDDs() |
Application |
getApplication() |
java.lang.ClassLoader |
getClassLoader() |
java.util.List<ClientModule> |
getClientModules() |
EntityMappings |
getCmpMappings() |
java.util.List<ConnectorModule> |
getConnectorModules() |
java.util.Collection<Container> |
getContainers() |
java.util.Collection<DeploymentModule> |
getDeploymentModule() |
IAnnotationFinder |
getEarLibFinder() |
java.util.List<EjbModule> |
getEjbModules() |
java.io.File |
getFile() |
java.lang.String |
getJarLocation() |
java.util.Collection<java.lang.String> |
getJaxRsProviders() |
java.lang.String |
getModuleId() |
java.net.URI |
getModuleUri() |
java.util.List<PersistenceModule> |
getPersistenceModules() |
java.util.Map<java.lang.String,PojoConfiguration> |
getPojoConfigurations() |
java.util.Properties |
getProperties() |
java.util.Collection<Resource> |
getResources() |
java.util.List<java.net.URL> |
getScannableContainerUrls() |
java.util.Collection<Service> |
getServices() |
TransactionType |
getTransactionType(java.lang.String unit) |
ValidationContext |
getValidation() |
java.util.List<ValidationContext> |
getValidationContexts() |
java.util.Set<java.lang.String> |
getWatchedResources() |
java.util.List<WebModule> |
getWebModules() |
boolean |
hasErrors() |
boolean |
hasFailures() |
boolean |
hasWarnings() |
boolean |
isDelegateFirst() |
boolean |
isStandaloneModule() |
boolean |
isWebapp() |
java.lang.String |
persistenceUnitId(java.lang.String rootUrl,
java.lang.String name) |
void |
setCmpMappings(EntityMappings cmpMappings) |
void |
setDelegateFirst(boolean delegateFirst) |
void |
setEarLibFinder(IAnnotationFinder earLibFinder) |
void |
setModuleId(java.lang.String moduleId) |
void |
setStandaloneModule(boolean isStandalone) |
void |
setStandloneWebModule() |
java.lang.String |
toString() |
java.lang.String |
uniqueHostIfExists() |
public AppModule(java.lang.ClassLoader classLoader, java.lang.String jarLocation)
public AppModule(T... modules)
public AppModule(java.lang.ClassLoader classLoader, java.lang.String jarLocation, Application application, boolean standaloneModule)
public java.util.List<java.net.URL> getScannableContainerUrls()
public java.lang.String persistenceUnitId(java.lang.String rootUrl, java.lang.String name)
public java.lang.String uniqueHostIfExists()
public boolean isDelegateFirst()
public void setDelegateFirst(boolean delegateFirst)
public java.util.Properties getProperties()
getProperties
in interface DeploymentModule
public AppModule appModule()
appModule
in interface DeploymentModule
public java.util.Set<java.lang.String> getAdditionalLibMbeans()
public boolean isStandaloneModule()
isStandaloneModule
in interface DeploymentModule
public void setStandaloneModule(boolean isStandalone)
setStandaloneModule
in interface DeploymentModule
public ValidationContext getValidation()
getValidation
in interface DeploymentModule
public boolean hasWarnings()
public boolean hasFailures()
public boolean hasErrors()
public java.util.List<ValidationContext> getValidationContexts()
public java.lang.String getJarLocation()
getJarLocation
in interface DeploymentModule
public void setModuleId(java.lang.String moduleId)
public java.lang.String getModuleId()
getModuleId
in interface DeploymentModule
public java.io.File getFile()
getFile
in interface DeploymentModule
public java.net.URI getModuleUri()
getModuleUri
in interface DeploymentModule
public java.util.Map<java.lang.String,java.lang.Object> getAltDDs()
getAltDDs
in interface DeploymentModule
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface DeploymentModule
public Application getApplication()
public java.util.List<ClientModule> getClientModules()
public java.util.List<EjbModule> getEjbModules()
public java.util.List<PersistenceModule> getPersistenceModules()
public java.util.List<java.net.URL> getAdditionalLibraries()
public EntityMappings getCmpMappings()
public void setCmpMappings(EntityMappings cmpMappings)
public java.util.List<ConnectorModule> getConnectorModules()
public java.util.List<WebModule> getWebModules()
public java.util.Set<java.lang.String> getWatchedResources()
getWatchedResources
in interface DeploymentModule
public java.util.Collection<Resource> getResources()
public java.util.Collection<Container> getContainers()
public java.util.Collection<Service> getServices()
public java.util.Collection<DeploymentModule> getDeploymentModule()
public java.lang.String toString()
toString
in class java.lang.Object
public void setStandloneWebModule()
public boolean isWebapp()
public java.util.Collection<java.lang.String> getJaxRsProviders()
public void addPersistenceModule(PersistenceModule root)
public void addPersistenceModules(java.util.Collection<PersistenceModule> roots)
public TransactionType getTransactionType(java.lang.String unit)
public java.util.Map<java.lang.String,PojoConfiguration> getPojoConfigurations()
public IAnnotationFinder getEarLibFinder()
public void setEarLibFinder(IAnnotationFinder earLibFinder)