org.apache.openejb.config
Class PersistenceModule
java.lang.Object
org.apache.openejb.config.PersistenceModule
- All Implemented Interfaces:
- DeploymentModule
public class PersistenceModule
- extends Object
- implements DeploymentModule
PersistenceModule
public PersistenceModule(String rootUrl,
Persistence persistence)
PersistenceModule
public PersistenceModule(AppModule module,
String rootUrl,
Persistence persistence)
getRootUrl
public String getRootUrl()
setRootUrl
public void setRootUrl(String rootUrl)
getPersistence
public Persistence getPersistence()
setPersistence
public void setPersistence(Persistence persistence)
getWatchedResources
public Set<String> getWatchedResources()
- Specified by:
getWatchedResources 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
getJarLocation
public String getJarLocation()
- Specified by:
getJarLocation in interface DeploymentModule
getModuleId
public String getModuleId()
- Specified by:
getModuleId in interface DeploymentModule
getModuleUri
public URI getModuleUri()
- Specified by:
getModuleUri in interface DeploymentModule
getFile
public File getFile()
- Specified by:
getFile in interface DeploymentModule
getValidation
public ValidationContext getValidation()
- Specified by:
getValidation in interface DeploymentModule
getProperties
public Properties getProperties()
- Specified by:
getProperties in interface DeploymentModule
appModule
public AppModule appModule()
- Specified by:
appModule in interface DeploymentModule
toString
public String toString()
- Overrides:
toString in class Object
isStandaloneModule
public boolean isStandaloneModule()
- Specified by:
isStandaloneModule in interface DeploymentModule
setStandaloneModule
public void setStandaloneModule(boolean isStandalone)
- Specified by:
setStandaloneModule in interface DeploymentModule
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.