public class AppModule extends Object implements DeploymentModule
DeploymentModule.ID| Modifier and Type | Field and Description |
|---|---|
static boolean |
DELEGATE_FIRST_DEFAULT |
OPENEJB_MODULENAME_USE_HASH| Constructor and Description |
|---|
AppModule(ClassLoader classLoader,
String jarLocation) |
AppModule(ClassLoader classLoader,
String jarLocation,
Application application,
boolean standaloneModule) |
AppModule(T... modules) |
public AppModule(ClassLoader classLoader, String jarLocation)
public AppModule(T... modules)
public AppModule(ClassLoader classLoader, String jarLocation, Application application, boolean standaloneModule)
public boolean isDelegateFirst()
public void setDelegateFirst(boolean delegateFirst)
public Properties getProperties()
getProperties in interface DeploymentModulepublic AppModule appModule()
appModule in interface DeploymentModulepublic boolean isStandaloneModule()
isStandaloneModule in interface DeploymentModulepublic void setStandaloneModule(boolean isStandalone)
setStandaloneModule in interface DeploymentModulepublic ValidationContext getValidation()
getValidation in interface DeploymentModulepublic boolean hasWarnings()
public boolean hasFailures()
public boolean hasErrors()
public List<ValidationContext> getValidationContexts()
public String getJarLocation()
getJarLocation in interface DeploymentModulepublic void setModuleId(String moduleId)
public String getModuleId()
getModuleId in interface DeploymentModulepublic File getFile()
getFile in interface DeploymentModulepublic URI getModuleUri()
getModuleUri in interface DeploymentModulepublic Map<String,Object> getAltDDs()
getAltDDs in interface DeploymentModulepublic ClassLoader getClassLoader()
getClassLoader in interface DeploymentModulepublic Application getApplication()
public List<ClientModule> getClientModules()
public List<PersistenceModule> getPersistenceModules()
public EntityMappings getCmpMappings()
public void setCmpMappings(EntityMappings cmpMappings)
public List<ConnectorModule> getConnectorModules()
public Set<String> getWatchedResources()
getWatchedResources in interface DeploymentModulepublic Collection<Resource> getResources()
public Collection<Service> getServices()
public Collection<DeploymentModule> getDeploymentModule()
public void setStandloneWebModule()
public boolean isWebapp()
public Collection<String> getJaxRsProviders()
public void addPersistenceModule(PersistenceModule root)
public void addPersistenceModules(Collection<PersistenceModule> roots)
public TransactionType getTransactionType(String unit)
public Map<String,PojoConfiguration> getPojoConfigurations()
public org.apache.xbean.finder.IAnnotationFinder getEarLibFinder()
public void setEarLibFinder(org.apache.xbean.finder.IAnnotationFinder earLibFinder)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.