Package org.apache.openejb.jee
Class MessageDestinationRef
- java.lang.Object
-
- org.apache.openejb.jee.MessageDestinationRef
-
- All Implemented Interfaces:
Injectable,JndiReference,Keyable<String>
public class MessageDestinationRef extends Object implements JndiReference
javaee6.xsdJava class for message-destination-refType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="message-destination-refType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/> <element name="message-destination-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/> <element name="message-destination-type" type="{http://java.sun.com/xml/ns/javaee}message-destination-typeType" minOccurs="0"/> <element name="message-destination-usage" type="{http://java.sun.com/xml/ns/javaee}message-destination-usageType" minOccurs="0"/> <element name="message-destination-link" type="{http://java.sun.com/xml/ns/javaee}message-destination-linkType" minOccurs="0"/> <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TextMapdescriptionprotected Stringidprotected Set<InjectionTarget>injectionTargetprotected StringlookupNameprotected StringmappedNameprotected StringmessageDestinationLinkprotected StringmessageDestinationRefNameprotected StringmessageDestinationTypeprotected MessageDestinationUsagemessageDestinationUsage
-
Constructor Summary
Constructors Constructor Description MessageDestinationRef()
-
Method Summary
-
-
-
Field Detail
-
description
protected TextMap description
-
messageDestinationRefName
protected String messageDestinationRefName
-
messageDestinationType
protected String messageDestinationType
-
messageDestinationUsage
protected MessageDestinationUsage messageDestinationUsage
-
messageDestinationLink
protected String messageDestinationLink
-
mappedName
protected String mappedName
-
lookupName
protected String lookupName
-
injectionTarget
protected Set<InjectionTarget> injectionTarget
-
id
protected String id
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceJndiReference
-
getKey
public String getKey()
Description copied from interface:KeyableGets the immutable key for this object.
-
name
public MessageDestinationRef name(String messageDestinationRefName)
-
type
public MessageDestinationRef type(String messageDestinationType)
-
type
public MessageDestinationRef type(Class<?> messageDestinationType)
-
link
public MessageDestinationRef link(String messageDestinationLink)
-
mappedName
public MessageDestinationRef mappedName(String mappedName)
-
lookup
public MessageDestinationRef lookup(String lookupName)
-
injectionTarget
public MessageDestinationRef injectionTarget(String className, String property)
-
injectionTarget
public MessageDestinationRef injectionTarget(Class<?> clazz, String property)
-
getType
public String getType()
- Specified by:
getTypein interfaceJndiReference
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceJndiReference
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceJndiReference
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getMessageDestinationRefName
public String getMessageDestinationRefName()
-
setMessageDestinationRefName
public void setMessageDestinationRefName(String value)
-
getMessageDestinationType
public String getMessageDestinationType()
-
setMessageDestinationType
public void setMessageDestinationType(String value)
-
getMessageDestinationUsage
public MessageDestinationUsage getMessageDestinationUsage()
-
setMessageDestinationUsage
public void setMessageDestinationUsage(MessageDestinationUsage value)
-
getMessageDestinationLink
public String getMessageDestinationLink()
The Assembler sets the value to reflect the flow of messages between producers and consumers in the application. The value must be the message-destination-name of a message destination in the same Deployment File or in another Deployment File in the same Java EE application unit. Alternatively, the value may be composed of a path name specifying a Deployment File containing the referenced message destination with the message-destination-name of the destination appended and separated from the path name by "#". The path name is relative to the Deployment File containing Deployment Component that is referencing the message destination. This allows multiple message destinations with the same name to be uniquely identified.
-
setMessageDestinationLink
public void setMessageDestinationLink(String value)
-
getMappedName
public String getMappedName()
- Specified by:
getMappedNamein interfaceJndiReference
-
setMappedName
public void setMappedName(String value)
- Specified by:
setMappedNamein interfaceJndiReference
-
getLookupName
public String getLookupName()
- Specified by:
getLookupNamein interfaceJndiReference
-
setLookupName
public void setLookupName(String lookupName)
- Specified by:
setLookupNamein interfaceJndiReference
-
getInjectionTarget
public Set<InjectionTarget> getInjectionTarget()
- Specified by:
getInjectionTargetin interfaceInjectable
-
getId
public String getId()
-
setId
public void setId(String value)
-
-