Package com.sun.enterprise.deployment
Class CommonResourceDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.CommonResourceDescriptor
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EjbDescriptor
,JndiEnvironmentRefsGroupDescriptor
public abstract class CommonResourceDescriptor extends Descriptor
This class is used to defined common descriptor elements which is shared by classes which implements BundleDescriptor. User: naman mehta Date: 22/5/12 Time: 3:58 PM To change this template use File | Settings | File Templates.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CommonResourceDescriptor()
protected
CommonResourceDescriptor(Descriptor other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResourceDescriptor(ResourceDescriptor descriptor)
Set<ResourceDescriptor>
getAllResourcesDescriptors()
Set<ResourceDescriptor>
getAllResourcesDescriptors(Class givenClazz)
protected ResourceDescriptor
getResourceDescriptor(JavaEEResourceType type, String name)
Set<ResourceDescriptor>
getResourceDescriptors(JavaEEResourceType type)
void
removeResourceDescriptor(ResourceDescriptor descriptor)
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Constructor Detail
-
CommonResourceDescriptor
protected CommonResourceDescriptor()
-
CommonResourceDescriptor
protected CommonResourceDescriptor(Descriptor other)
-
-
Method Detail
-
addResourceDescriptor
public void addResourceDescriptor(ResourceDescriptor descriptor)
-
removeResourceDescriptor
public void removeResourceDescriptor(ResourceDescriptor descriptor)
-
getResourceDescriptors
public Set<ResourceDescriptor> getResourceDescriptors(JavaEEResourceType type)
-
getResourceDescriptor
protected ResourceDescriptor getResourceDescriptor(JavaEEResourceType type, String name)
-
getAllResourcesDescriptors
public Set<ResourceDescriptor> getAllResourcesDescriptors()
-
getAllResourcesDescriptors
public Set<ResourceDescriptor> getAllResourcesDescriptors(Class givenClazz)
-
-