com.sun.enterprise.deployment
Class MessageDestinationDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.MessageDestinationDescriptor
All Implemented Interfaces:
NamedDescriptor, java.io.Serializable

public class MessageDestinationDescriptor
extends Descriptor
implements NamedDescriptor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
MessageDestinationDescriptor()
           
MessageDestinationDescriptor(java.lang.String name, java.lang.String description)
           
 
Method Summary
 void addReferencer(MessageDestinationReferencer referencer)
           
 java.util.Set getAllReferencers()
           
 BundleDescriptor getBundleDescriptor()
           
 java.lang.String getDisplayName()
           
 java.lang.String getJndiName()
          Returns the JNDI name property of the receiver.
 java.lang.String getLookupName()
           
 java.lang.String getMappedName()
           
 java.lang.String getName()
          The name of this descriptor as a String.
 boolean hasName()
           
 void removeReferencer(MessageDestinationReferencer referencer)
           
 void setBundleDescriptor(BundleDescriptor bundleDesc)
           
 void setDisplayName(java.lang.String displayName)
          sets the display name for this bundle
 void setJndiName(java.lang.String physicalDestinationName)
          Sets the JNDI name property of the reciever as a String.
 void setLookupName(java.lang.String lName)
           
 void setMappedName(java.lang.String mappedName)
           
 void setName(java.lang.String name)
          Sets the name of this descriptor.
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageDestinationDescriptor

public MessageDestinationDescriptor()

MessageDestinationDescriptor

public MessageDestinationDescriptor(java.lang.String name,
                                    java.lang.String description)
Method Detail

hasName

public boolean hasName()

setName

public void setName(java.lang.String name)
Description copied from class: Descriptor
Sets the name of this descriptor.

Overrides:
setName in class Descriptor
Parameters:
name - the new name of the descriptor.

getName

public java.lang.String getName()
Description copied from class: Descriptor
The name of this descriptor as a String.

Specified by:
getName in interface NamedDescriptor
Overrides:
getName in class Descriptor
Returns:
the name of this descriptor

setDisplayName

public void setDisplayName(java.lang.String displayName)
Description copied from class: Descriptor
sets the display name for this bundle

Overrides:
setDisplayName in class Descriptor
Parameters:
displayName - the display name

getDisplayName

public java.lang.String getDisplayName()
Overrides:
getDisplayName in class Descriptor
Returns:
the display name

getAllReferencers

public java.util.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 java.lang.String getJndiName()
Description copied from interface: NamedDescriptor
Returns the JNDI name property of the receiver.

Specified by:
getJndiName in interface NamedDescriptor
Returns:
java.lang.String JNDI name

setJndiName

public void setJndiName(java.lang.String physicalDestinationName)
Description copied from interface: NamedDescriptor
Sets the JNDI name property of the reciever as a String.

Specified by:
setJndiName in interface NamedDescriptor
Parameters:
physicalDestinationName - the new JNDI name of the receiver.

getMappedName

public java.lang.String getMappedName()

setMappedName

public void setMappedName(java.lang.String mappedName)

setLookupName

public void setLookupName(java.lang.String lName)

getLookupName

public java.lang.String getLookupName()


Copyright © 2012 GlassFish Community. All Rights Reserved.