Package com.sun.enterprise.deployment
Class ContextServiceDefinitionDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.ResourceDescriptor
-
- com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor
-
- All Implemented Interfaces:
Serializable
public class ContextServiceDefinitionDescriptor extends ResourceDescriptor
Deployment information for context service.- Author:
- Petr Aubrecht
- 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 Constructor Description ContextServiceDefinitionDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCleared(String clearedItem)
void
addContextServiceExecutorDescriptor(ResourcePropertyDescriptor propertyDescriptor)
void
addPropagated(String propagatedItem)
void
addUnchanged(String unchangedItem)
boolean
equals(Object obj)
Set<String>
getCleared()
String
getName()
The name of this descriptor as a String.Set<String>
getPropagated()
Properties
getProperties()
Set<String>
getUnchanged()
int
hashCode()
void
setCleared(Set<String> cleared)
void
setName(String name)
Sets the name of this descriptor.void
setPropagated(Set<String> propagated)
void
setProperties(Properties properties)
void
setUnchanged(Set<String> unchanged)
String
toString()
-
Methods inherited from class com.sun.enterprise.deployment.ResourceDescriptor
getMetadataSource, getResourceId, getResourceType, setMetadataSource, setResourceId, setResourceType
-
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, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classDynamicAttributesDescriptor
- Returns:
- a meaningfull string about ourself No Descriptor class which inherits this class should override this method. Rather print() method which is defined in this class should be overridden to describe itself. Refer to the comments on print() method for more details. This method is optimized for persformance reasons.
-
getName
public String getName()
Description copied from class:Descriptor
The name of this descriptor as a String.- Overrides:
getName
in classDescriptor
- Returns:
- the name of this descriptor
-
setName
public void setName(String name)
Description copied from class:Descriptor
Sets the name of this descriptor.- Overrides:
setName
in classDescriptor
- Parameters:
name
- the new name of the descriptor.
-
addCleared
public void addCleared(String clearedItem)
-
addPropagated
public void addPropagated(String propagatedItem)
-
addUnchanged
public void addUnchanged(String unchangedItem)
-
getProperties
public Properties getProperties()
-
setProperties
public void setProperties(Properties properties)
-
addContextServiceExecutorDescriptor
public void addContextServiceExecutorDescriptor(ResourcePropertyDescriptor propertyDescriptor)
-
-