Package com.sun.enterprise.deployment
Class MessageDestinationDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.MessageDestinationDescriptor
-
- All Implemented Interfaces:
NamedDescriptor,Serializable
public class MessageDestinationDescriptor extends Descriptor implements NamedDescriptor
- 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 MessageDestinationDescriptor()MessageDestinationDescriptor(String name, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReferencer(MessageDestinationReferencer referencer)SetgetAllReferencers()BundleDescriptorgetBundleDescriptor()StringgetDisplayName()StringgetJndiName()Returns the JNDI name property of the receiver.StringgetLookupName()StringgetMappedName()StringgetName()The name of this descriptor as a String.booleanhasName()voidremoveReferencer(MessageDestinationReferencer referencer)voidsetBundleDescriptor(BundleDescriptor bundleDesc)voidsetDisplayName(String displayName)sets the display name for this bundlevoidsetJndiName(String physicalDestinationName)Sets the JNDI name property of the reciever as a String.voidsetLookupName(String lName)voidsetMappedName(String mappedName)voidsetName(String name)Sets the name of this descriptor.-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, 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
-
-
-
-
Method Detail
-
hasName
public boolean hasName()
-
setName
public void setName(String name)
Description copied from class:DescriptorSets the name of this descriptor.- Overrides:
setNamein classDescriptor- Parameters:
name- the new name of the descriptor.
-
getName
public String getName()
Description copied from class:DescriptorThe name of this descriptor as a String.- Specified by:
getNamein interfaceNamedDescriptor- Overrides:
getNamein classDescriptor- Returns:
- the name of this descriptor
-
setDisplayName
public void setDisplayName(String displayName)
Description copied from class:Descriptorsets the display name for this bundle- Overrides:
setDisplayNamein classDescriptor- Parameters:
displayName- the display name
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor- Returns:
- the display name
-
getAllReferencers
public Set getAllReferencers()
-
addReferencer
public void addReferencer(MessageDestinationReferencer referencer)
-
removeReferencer
public void removeReferencer(MessageDestinationReferencer referencer)
-
getBundleDescriptor
public BundleDescriptor getBundleDescriptor()
-
setBundleDescriptor
public void setBundleDescriptor(BundleDescriptor bundleDesc)
-
getJndiName
public String getJndiName()
Description copied from interface:NamedDescriptorReturns the JNDI name property of the receiver.- Specified by:
getJndiNamein interfaceNamedDescriptor- Returns:
- java.lang.String JNDI name
-
setJndiName
public void setJndiName(String physicalDestinationName)
Description copied from interface:NamedDescriptorSets the JNDI name property of the reciever as a String.- Specified by:
setJndiNamein interfaceNamedDescriptor- Parameters:
physicalDestinationName- the new JNDI name of the receiver.
-
getMappedName
public String getMappedName()
-
setMappedName
public void setMappedName(String mappedName)
-
setLookupName
public void setLookupName(String lName)
-
getLookupName
public String getLookupName()
-
-