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 void
addReferencer(MessageDestinationReferencer referencer)
Set
getAllReferencers()
BundleDescriptor
getBundleDescriptor()
String
getDisplayName()
String
getJndiName()
Returns the JNDI name property of the receiver.String
getLookupName()
String
getMappedName()
String
getName()
The name of this descriptor as a String.boolean
hasName()
void
removeReferencer(MessageDestinationReferencer referencer)
void
setBundleDescriptor(BundleDescriptor bundleDesc)
void
setDisplayName(String displayName)
sets the display name for this bundlevoid
setJndiName(String physicalDestinationName)
Sets the JNDI name property of the reciever as a String.void
setLookupName(String lName)
void
setMappedName(String mappedName)
void
setName(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:Descriptor
Sets the name of this descriptor.- Overrides:
setName
in classDescriptor
- Parameters:
name
- the new name of the descriptor.
-
getName
public String getName()
Description copied from class:Descriptor
The name of this descriptor as a String.- Specified by:
getName
in interfaceNamedDescriptor
- Overrides:
getName
in classDescriptor
- Returns:
- the name of this descriptor
-
setDisplayName
public void setDisplayName(String displayName)
Description copied from class:Descriptor
sets the display name for this bundle- Overrides:
setDisplayName
in classDescriptor
- Parameters:
displayName
- the display name
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in 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:NamedDescriptor
Returns the JNDI name property of the receiver.- Specified by:
getJndiName
in interfaceNamedDescriptor
- Returns:
- java.lang.String JNDI name
-
setJndiName
public void setJndiName(String physicalDestinationName)
Description copied from interface:NamedDescriptor
Sets the JNDI name property of the reciever as a String.- Specified by:
setJndiName
in 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()
-
-