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 MessageDestinationReferencer
public MessageDestinationReferenceDescriptor getMessageDestinationRefOwner()
getMessageDestinationRefOwner
in interface MessageDestinationReferencer
public boolean ownedByMessageBean()
ownedByMessageBean
in interface MessageDestinationReferencer
public EjbMessageBeanDescriptor getMessageBeanOwner()
getMessageBeanOwner
in interface MessageDestinationReferencer
public boolean isLinkedToMessageDestination()
isLinkedToMessageDestination
in interface MessageDestinationReferencer
public String getMessageDestinationLinkName()
MessageDestinationReferencer
getMessageDestinationLinkName
in interface MessageDestinationReferencer
public void setMessageDestinationLinkName(String linkName)
setMessageDestinationLinkName
in interface MessageDestinationReferencer
public MessageDestinationDescriptor setMessageDestinationLinkName(String linkName, boolean resolve)
setMessageDestinationLinkName
in interface MessageDestinationReferencer
resolve
- if true, *try* to resolve link to the target message
destination.public MessageDestinationDescriptor resolveLinkName()
resolveLinkName
in interface MessageDestinationReferencer
public MessageDestinationDescriptor getMessageDestination()
getMessageDestination
in interface MessageDestinationReferencer
public void setMessageDestination(MessageDestinationDescriptor newMsgDest)
setMessageDestination
in interface MessageDestinationReferencer
messageDestiation
- the message destination to which I refer.Copyright © 2021. All rights reserved.