public class PersistenceModule extends java.lang.Object implements DeploymentModule
DeploymentModule.ID
OPENEJB_MODULENAME_USE_HASH
Constructor and Description |
---|
PersistenceModule(AppModule module,
java.lang.String rootUrl,
Persistence persistence) |
PersistenceModule(java.lang.String rootUrl,
Persistence persistence) |
Modifier and Type | Method and Description |
---|---|
AppModule |
appModule() |
java.util.Map<java.lang.String,java.lang.Object> |
getAltDDs() |
java.lang.ClassLoader |
getClassLoader() |
java.io.File |
getFile() |
java.lang.String |
getJarLocation() |
java.lang.String |
getModuleId() |
java.net.URI |
getModuleUri() |
Persistence |
getPersistence() |
java.util.Properties |
getProperties() |
java.lang.String |
getRootUrl() |
ValidationContext |
getValidation() |
java.util.Set<java.lang.String> |
getWatchedResources() |
boolean |
isStandaloneModule() |
void |
setPersistence(Persistence persistence) |
void |
setRootUrl(java.lang.String rootUrl) |
void |
setStandaloneModule(boolean isStandalone) |
java.lang.String |
toString() |
public PersistenceModule(java.lang.String rootUrl, Persistence persistence)
public PersistenceModule(AppModule module, java.lang.String rootUrl, Persistence persistence)
public java.lang.String getRootUrl()
public void setRootUrl(java.lang.String rootUrl)
public Persistence getPersistence()
public void setPersistence(Persistence persistence)
public java.util.Set<java.lang.String> getWatchedResources()
getWatchedResources
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 java.lang.String getJarLocation()
getJarLocation
in interface DeploymentModule
public java.lang.String getModuleId()
getModuleId
in interface DeploymentModule
public java.net.URI getModuleUri()
getModuleUri
in interface DeploymentModule
public java.io.File getFile()
getFile
in interface DeploymentModule
public ValidationContext getValidation()
getValidation
in interface DeploymentModule
public java.util.Properties getProperties()
getProperties
in interface DeploymentModule
public AppModule appModule()
appModule
in interface DeploymentModule
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isStandaloneModule()
isStandaloneModule
in interface DeploymentModule
public void setStandaloneModule(boolean isStandalone)
setStandaloneModule
in interface DeploymentModule