public class MessageDestinationReferenceDescriptor extends EnvironmentProperty implements MessageDestinationReference
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSUMES |
static String |
CONSUMES_PRODUCES |
static String |
PRODUCES |
lookupName, mappedNameDESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGEDCONSUMES_AND_PRODUCES| Constructor and Description |
|---|
MessageDestinationReferenceDescriptor()
Constructs a reference in the extrernal state.
|
MessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor other)
copy constructor
|
MessageDestinationReferenceDescriptor(String name,
String desc)
Construct an message destination reference
with the given name and descriptor of the reference.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Returns true if the argument is an environment property of the same name, false else.
|
String |
getDestinationType() |
String |
getInjectResourceType()
This is the class name of the type of resource that is to be injected.
|
String |
getJndiName() |
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.
|
BundleDescriptor |
getReferringBundleDescriptor()
Get the referring bundle, i.e.
|
String |
getUsage() |
int |
hashCode()
The hashCode of an environment property is the same as that of the name String.
|
boolean |
isConflict(MessageDestinationReferenceDescriptor other) |
boolean |
isLinkedToMessageDestination() |
boolean |
ownedByMessageBean()
True if the owner is a message-driven bean.
|
boolean |
ownedByMessageDestinationRef()
True if the owner is a message destination reference.
|
void |
print(StringBuilder toStringBuilder)
returns a formatted string representing me.
|
MessageDestinationDescriptor |
resolveLinkName()
Try to resolve the current link name value to a MessageDestination
object.
|
void |
setDestinationType(String type) |
void |
setInjectResourceType(String resourceType) |
void |
setJndiName(String physicalDestinationName) |
void |
setMessageDestination(MessageDestinationDescriptor newMsgDest) |
void |
setMessageDestinationLinkName(String linkName)
Sets the name of the message destination to which I refer.
|
MessageDestinationDescriptor |
setMessageDestinationLinkName(String linkName,
boolean resolveLink)
Sets the name of the message destination to which I refer.
|
void |
setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e.
|
void |
setUsage(String destUsage) |
addInjectionTarget, getComponentEnvName, getInjectionTargets, getLookupName, getMappedName, getResolvedValue, getResolvedValueObject, getType, getValue, getValueObject, getValueType, hasAValue, hasInjectionTargetFromXml, hasLookupName, isConflict, isConflictResourceGroup, isInjectable, isSetValueCalled, printInjectableResourceInfo, setLookupName, setMappedName, setType, setValueaddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetType, setTypegetDescription, getName, setDescription, setNamegetDescription, getLargeIconUri, getName, getSmallIconUri, setDescription, setLargeIconUri, setName, setSmallIconUrigetDescription, getName, setDescription, setNamepublic static final String CONSUMES
public static final String PRODUCES
public static final String CONSUMES_PRODUCES
public MessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor other)
public MessageDestinationReferenceDescriptor(String name, String desc)
name - the message-destination-ref name as used in
the referencing componentoptional - descriptionpublic MessageDestinationReferenceDescriptor()
public String getUsage()
getUsage in interface MessageDestinationReferencepublic void setUsage(String destUsage)
setUsage in interface MessageDestinationReferenceusage - the usage type of the message destination reference
(Consumes, Produces, ConsumesProduces)public String getDestinationType()
public void setDestinationType(String type)
public String getJndiName()
public void setJndiName(String physicalDestinationName)
public String getInjectResourceType()
InjectionCapablegetInjectResourceType in interface InjectionCapablegetInjectResourceType in class EnvironmentPropertypublic void setInjectResourceType(String resourceType)
setInjectResourceType in interface InjectionCapablesetInjectResourceType in class EnvironmentPropertypublic void setReferringBundleDescriptor(BundleDescriptor referringBundle)
setReferringBundleDescriptor in interface MessageDestinationReferencepublic BundleDescriptor getReferringBundleDescriptor()
getReferringBundleDescriptor in interface MessageDestinationReferencepublic 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 resolveLink)
MessageDestinationReferencersetMessageDestinationLinkName in interface MessageDestinationReferencerresolveLink - if true, *try* to resolve link to the target message
destination.public MessageDestinationDescriptor resolveLinkName()
MessageDestinationReferencerresolveLinkName in interface MessageDestinationReferencerpublic boolean ownedByMessageDestinationRef()
MessageDestinationReferencerownedByMessageDestinationRef in interface MessageDestinationReferencerpublic MessageDestinationReferenceDescriptor getMessageDestinationRefOwner()
getMessageDestinationRefOwner in interface MessageDestinationReferencerpublic boolean ownedByMessageBean()
ownedByMessageBean in interface MessageDestinationReferencerpublic EjbMessageBeanDescriptor getMessageBeanOwner()
getMessageBeanOwner in interface MessageDestinationReferencerpublic MessageDestinationDescriptor getMessageDestination()
getMessageDestination in interface MessageDestinationReferencerpublic void setMessageDestination(MessageDestinationDescriptor newMsgDest)
setMessageDestination in interface MessageDestinationReferencermessageDestiation - the message destination to which I refer.public void print(StringBuilder toStringBuilder)
print in class EnvironmentPropertypublic boolean isConflict(MessageDestinationReferenceDescriptor other)
public boolean equals(Object object)
EnvironmentPropertyequals in class EnvironmentPropertypublic int hashCode()
EnvironmentPropertyhashCode in class EnvironmentPropertyCopyright © 2019. All rights reserved.