public class MessageDestinationReferencerImpl extends Object implements MessageDestinationReferencer, Serializable
| Constructor and Description |
|---|
MessageDestinationReferencerImpl(Descriptor desc) |
MessageDestinationReferencerImpl(MessageDestinationReferencerImpl other) |
| Modifier and Type | Method and Description |
|---|---|
EjbMessageBeanDescriptor |
getMessageBeanOwner()
Get the descriptor for the message-driven bean owner.
|
MessageDestinationDescriptor |
getMessageDestination() |
String |
getMessageDestinationLinkName()
Gets the link name of the reference.
|
MessageDestinationReferenceDescriptor |
getMessageDestinationRefOwner()
Get the descriptor for the message destination reference owner.
|
boolean |
isLinkedToMessageDestination()
True if this reference has been resolved to a valid MessageDestination
object.
|
boolean |
ownedByMessageBean()
True if the owner is a message-driven bean.
|
boolean |
ownedByMessageDestinationRef()
True if the owner is a message destination reference.
|
MessageDestinationDescriptor |
resolveLinkName()
Try to resolve the current link name value to a MessageDestination
object.
|
void |
setMessageDestination(MessageDestinationDescriptor newMsgDest) |
void |
setMessageDestinationLinkName(String linkName)
Sets the name of the message destination to which I refer.
|
MessageDestinationDescriptor |
setMessageDestinationLinkName(String linkName,
boolean resolve)
Sets the name of the message destination to which I refer.
|
public MessageDestinationReferencerImpl(MessageDestinationReferencerImpl other)
public MessageDestinationReferencerImpl(Descriptor desc)
public boolean ownedByMessageDestinationRef()
ownedByMessageDestinationRef in interface MessageDestinationReferencerpublic MessageDestinationReferenceDescriptor getMessageDestinationRefOwner()
getMessageDestinationRefOwner in interface MessageDestinationReferencerpublic boolean ownedByMessageBean()
ownedByMessageBean in interface MessageDestinationReferencerpublic EjbMessageBeanDescriptor getMessageBeanOwner()
getMessageBeanOwner in interface MessageDestinationReferencerpublic boolean isLinkedToMessageDestination()
isLinkedToMessageDestination in interface MessageDestinationReferencerpublic String getMessageDestinationLinkName()
MessageDestinationReferencergetMessageDestinationLinkName in interface MessageDestinationReferencerpublic void setMessageDestinationLinkName(String linkName)
setMessageDestinationLinkName in interface MessageDestinationReferencerpublic MessageDestinationDescriptor setMessageDestinationLinkName(String linkName, boolean resolve)
setMessageDestinationLinkName in interface MessageDestinationReferencerresolve - if true, *try* to resolve link to the target message
destination.public MessageDestinationDescriptor resolveLinkName()
resolveLinkName in interface MessageDestinationReferencerpublic MessageDestinationDescriptor getMessageDestination()
getMessageDestination in interface MessageDestinationReferencerpublic void setMessageDestination(MessageDestinationDescriptor newMsgDest)
setMessageDestination in interface MessageDestinationReferencermessageDestiation - the message destination to which I refer.Copyright © 2017. All rights reserved.