public class PersistenceUnitsDescriptor
extends org.glassfish.deployment.common.RootDeploymentDescriptor
| Constructor and Description |
|---|
PersistenceUnitsDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPersistenceUnitDescriptor(PersistenceUnitDescriptor pud)
This method does not do any validation like checking for unique names
of PersistenceUnits.
|
String |
getAbsolutePuRoot()
This is a utility method which calculates the absolute path of the
root of a PU.
|
ClassLoader |
getClassLoader() |
String |
getDefaultSpecVersion() |
String |
getModuleID() |
org.glassfish.api.deployment.archive.ArchiveType |
getModuleType() |
org.glassfish.deployment.common.RootDeploymentDescriptor |
getParent() |
List<PersistenceUnitDescriptor> |
getPersistenceUnitDescriptors() |
String |
getPuRoot() |
boolean |
isApplication() |
boolean |
isEmpty() |
void |
setParent(org.glassfish.deployment.common.RootDeploymentDescriptor parent) |
void |
setPuRoot(String puRoot) |
addExtensionDescriptor, getDisplayName, getExtensionsDescriptors, getExtensionsDescriptors, getExtensionsDescriptors, getMainDescriptor, getModuleDescriptor, getName, getSchemaLocation, getSpecVersion, getTracerVisitor, isExtensionDescriptor, print, setClassLoader, setDisplayName, setModuleDescriptor, setModuleID, setName, setSchemaLocation, setSpecVersionaddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic org.glassfish.deployment.common.RootDeploymentDescriptor getParent()
public void setParent(org.glassfish.deployment.common.RootDeploymentDescriptor parent)
public String getPuRoot()
public void setPuRoot(String puRoot)
public String getDefaultSpecVersion()
getDefaultSpecVersion in class org.glassfish.deployment.common.RootDeploymentDescriptorpublic String getModuleID()
getModuleID in class org.glassfish.deployment.common.RootDeploymentDescriptorpublic org.glassfish.api.deployment.archive.ArchiveType getModuleType()
getModuleType in class org.glassfish.deployment.common.RootDeploymentDescriptorpublic ClassLoader getClassLoader()
getClassLoader in class org.glassfish.deployment.common.RootDeploymentDescriptorpublic boolean isApplication()
isApplication in class org.glassfish.deployment.common.RootDeploymentDescriptorpublic void addPersistenceUnitDescriptor(PersistenceUnitDescriptor pud)
pud - the PersistenceUnitDescriptor to be added.public List<PersistenceUnitDescriptor> getPersistenceUnitDescriptors()
public String getAbsolutePuRoot()
getPuRoot() returned path always uses '/' as path separator.getPuRoot()public boolean isEmpty()
isEmpty in class org.glassfish.deployment.common.RootDeploymentDescriptorCopyright © 2013. All Rights Reserved.