|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.EnvironmentProperty
com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor
public class MessageDestinationReferenceDescriptor
An object representing the use of a message destination in a J2EE component.
| Field Summary | |
|---|---|
static java.lang.String |
CONSUMES
|
static java.lang.String |
CONSUMES_PRODUCES
|
static java.lang.String |
PRODUCES
|
| Fields inherited from class com.sun.enterprise.deployment.EnvironmentProperty |
|---|
lookupName, mappedName |
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Fields inherited from interface com.sun.enterprise.deployment.types.MessageDestinationReference |
|---|
CONSUMES_AND_PRODUCES |
| Constructor Summary | |
|---|---|
MessageDestinationReferenceDescriptor()
Constructs a reference in the extrernal state. |
|
MessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor other)
copy constructor |
|
MessageDestinationReferenceDescriptor(java.lang.String name,
java.lang.String desc)
Construct an message destination reference with the given name and descriptor of the reference. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Returns true if the argument is an environment property of the same name, false else. |
java.lang.String |
getDestinationType()
|
java.lang.String |
getInjectResourceType()
This is the class name of the type of resource that is to be injected. |
java.lang.String |
getJndiName()
|
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. |
BundleDescriptor |
getReferringBundleDescriptor()
Get the referring bundle, i.e. |
java.lang.String |
getUsage()
|
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(java.lang.StringBuffer toStringBuffer)
returns a formatted string representing me. |
MessageDestinationDescriptor |
resolveLinkName()
Try to resolve the current link name value to a MessageDestination object. |
void |
setDestinationType(java.lang.String type)
|
void |
setInjectResourceType(java.lang.String resourceType)
|
void |
setJndiName(java.lang.String physicalDestinationName)
|
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 resolveLink)
Sets the name of the message destination to which I refer. |
void |
setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e. |
void |
setUsage(java.lang.String destUsage)
|
| Methods inherited from class com.sun.enterprise.deployment.EnvironmentProperty |
|---|
addInjectionTarget, getComponentEnvName, getInjectionTargets, getLookupName, getMappedName, getResolvedValue, getResolvedValueObject, getType, getValue, getValueObject, getValueType, hasAValue, hashCode, hasInjectionTargetFromXml, hasLookupName, isConflictResourceGroup, isInjectable, isSetValueCalled, printInjectableResourceInfo, setLookupName, setMappedName, setType, setValue |
| Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor |
|---|
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.deployment.types.MessageDestinationReference |
|---|
getType, setType |
| Methods inherited from interface com.sun.enterprise.deployment.types.NamedInformation |
|---|
getDescription, getName, setDescription, setName |
| Methods inherited from interface com.sun.enterprise.deployment.web.WebDescriptor |
|---|
getDescription, getLargeIconUri, getName, getSmallIconUri, setDescription, setLargeIconUri, setName, setSmallIconUri |
| Methods inherited from interface com.sun.enterprise.deployment.web.NameValuePair |
|---|
getDescription, getName, setDescription, setName |
| Field Detail |
|---|
public static final java.lang.String CONSUMES
public static final java.lang.String PRODUCES
public static final java.lang.String CONSUMES_PRODUCES
| Constructor Detail |
|---|
public MessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor other)
public MessageDestinationReferenceDescriptor(java.lang.String name,
java.lang.String desc)
name - the message-destination-ref name as used in
the referencing componentoptional - descriptionpublic MessageDestinationReferenceDescriptor()
| Method Detail |
|---|
public java.lang.String getUsage()
getUsage in interface MessageDestinationReferencepublic void setUsage(java.lang.String destUsage)
setUsage in interface MessageDestinationReferenceusage - the usage type of the message destination reference
(Consumes, Produces, ConsumesProduces)public java.lang.String getDestinationType()
public void setDestinationType(java.lang.String type)
public java.lang.String getJndiName()
public void setJndiName(java.lang.String physicalDestinationName)
public java.lang.String getInjectResourceType()
InjectionCapable
getInjectResourceType in interface InjectionCapablegetInjectResourceType in class EnvironmentPropertypublic void setInjectResourceType(java.lang.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 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 resolveLink)
MessageDestinationReferencer
setMessageDestinationLinkName in interface MessageDestinationReferencerresolveLink - if true, *try* to resolve link to the target message
destination.
public MessageDestinationDescriptor resolveLinkName()
MessageDestinationReferencer
resolveLinkName in interface MessageDestinationReferencerpublic boolean ownedByMessageDestinationRef()
MessageDestinationReferencer
ownedByMessageDestinationRef 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(java.lang.StringBuffer toStringBuffer)
print in class EnvironmentPropertypublic boolean equals(java.lang.Object object)
EnvironmentProperty
equals in class EnvironmentProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||