Methods Summary |
---|
public boolean | equals(java.lang.Object object)
if (object instanceof MessageDestinationReference) {
MessageDestinationReference reference =
(MessageDestinationReference) object;
return reference.getName().equals(this.getName());
}
return false;
|
public java.lang.String | getDestinationType()
return destinationType;
|
public java.lang.String | getInjectResourceType()
return getDestinationType();
|
public java.lang.String | getJndiName()
return (jndiName != null && ! jndiName.equals("")) ?
jndiName : mappedName;
|
public EjbMessageBeanDescriptor | getMessageBeanOwner()Get the descriptor for the message-driven bean owner.
return null;
|
public MessageDestinationDescriptor | getMessageDestination()
return referencer.getMessageDestination();
|
public java.lang.String | getMessageDestinationLinkName()
return referencer.getMessageDestinationLinkName();
|
public com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor | getMessageDestinationRefOwner()Get the descriptor for the message destination reference owner.
return this;
|
public BundleDescriptor | getReferringBundleDescriptor()Get the referring bundle, i.e. the bundle within which this
message destination reference is declared.
return referringBundle;
|
public java.lang.String | getUsage()
return usage;
|
public boolean | isLinkedToMessageDestination()
return referencer.isLinkedToMessageDestination();
|
public boolean | ownedByMessageBean()True if the owner is a message-driven bean.
return false;
|
public boolean | ownedByMessageDestinationRef()
return true;
|
public void | print(java.lang.StringBuffer toStringBuffer)returns a formatted string representing me.
if (isLinkedToMessageDestination()) {
toStringBuffer.append("Resolved Message-Destination-Ref ").append(getName()).append(
"points to logical message destination ").append(getMessageDestination().getName());
} else {
toStringBuffer.append("Unresolved Message-Destination-Ref ").append(getName()).append(
"@").append(getType()).append("@").append(usage);
}
|
public MessageDestinationDescriptor | resolveLinkName()
return referencer.resolveLinkName();
|
public void | setDestinationType(java.lang.String type)
destinationType = type;
|
public void | setInjectResourceType(java.lang.String resourceType)
setDestinationType(resourceType);
|
public void | setJndiName(java.lang.String physicalDestinationName)
jndiName = physicalDestinationName;
|
public void | setMessageDestination(MessageDestinationDescriptor newMsgDest)
referencer.setMessageDestination(newMsgDest);
|
public void | setMessageDestinationLinkName(java.lang.String linkName)Sets the name of the message destination to which I refer.
referencer.setMessageDestinationLinkName(linkName);
|
public MessageDestinationDescriptor | setMessageDestinationLinkName(java.lang.String linkName, boolean resolveLink)
return referencer.setMessageDestinationLinkName(linkName, resolveLink);
|
public void | setReferringBundleDescriptor(BundleDescriptor referringBundle)Set the referring bundle, i.e. the bundle within which this
message destination reference is declared.
this.referringBundle = referringBundle;
|
public void | setUsage(java.lang.String destUsage)
usage = destUsage;
|