|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.MessageDestinationReferencerImpl
public class MessageDestinationReferencerImpl
Shared implementation for deployment descriptor entities that can refer to a message destination. Each MessageDestinationReferencer has an owner. The owner can either be a MessageDestinationReference or a MessageDrivenBean.
| Constructor Summary | |
|---|---|
MessageDestinationReferencerImpl(Descriptor desc)
|
|
MessageDestinationReferencerImpl(MessageDestinationReferencerImpl other)
|
|
| Method Summary | |
|---|---|
EjbMessageBeanDescriptor |
getMessageBeanOwner()
Get the descriptor for the message-driven bean owner. |
MessageDestinationDescriptor |
getMessageDestination()
|
java.lang.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(java.lang.String linkName)
Sets the name of the message destination to which I refer. |
MessageDestinationDescriptor |
setMessageDestinationLinkName(java.lang.String linkName,
boolean resolve)
Sets the name of the message destination to which I refer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageDestinationReferencerImpl(MessageDestinationReferencerImpl other)
public MessageDestinationReferencerImpl(Descriptor desc)
| Method Detail |
|---|
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 java.lang.String getMessageDestinationLinkName()
MessageDestinationReferencer
getMessageDestinationLinkName in interface MessageDestinationReferencerpublic void setMessageDestinationLinkName(java.lang.String linkName)
setMessageDestinationLinkName in interface MessageDestinationReferencer
public MessageDestinationDescriptor setMessageDestinationLinkName(java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||