org.apache.openejb.config
Class PersistenceModule

java.lang.Object
  extended by org.apache.openejb.config.PersistenceModule
All Implemented Interfaces:
DeploymentModule

public class PersistenceModule
extends Object
implements DeploymentModule


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.openejb.config.DeploymentModule
DeploymentModule.ID
 
Field Summary
 
Fields inherited from interface org.apache.openejb.config.DeploymentModule
OPENEJB_MODULENAME_USE_HASH
 
Constructor Summary
PersistenceModule(String rootUrl, Persistence persistence)
           
 
Method Summary
 Map<String,Object> getAltDDs()
           
 ClassLoader getClassLoader()
           
 File getFile()
           
 String getJarLocation()
           
 String getModuleId()
           
 URI getModuleUri()
           
 Persistence getPersistence()
           
 Properties getProperties()
           
 String getRootUrl()
           
 ValidationContext getValidation()
           
 Set<String> getWatchedResources()
           
 boolean isStandaloneModule()
           
 void setPersistence(Persistence persistence)
           
 void setRootUrl(String rootUrl)
           
 void setStandaloneModule(boolean isStandalone)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceModule

public PersistenceModule(String rootUrl,
                         Persistence persistence)
Method Detail

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

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-2012 The Apache Software Foundation. All Rights Reserved.