public class MessageDestinationRef extends Object implements JndiReference
Java 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>
| Modifier and Type | Field and Description |
|---|---|
protected TextMap |
description |
protected String |
id |
protected Set<InjectionTarget> |
injectionTarget |
protected String |
lookupName |
protected String |
mappedName |
protected String |
messageDestinationLink |
protected String |
messageDestinationRefName |
protected String |
messageDestinationType |
protected MessageDestinationUsage |
messageDestinationUsage |
| Constructor and Description |
|---|
MessageDestinationRef() |
protected TextMap description
protected String messageDestinationRefName
protected String messageDestinationType
protected MessageDestinationUsage messageDestinationUsage
protected String messageDestinationLink
protected String mappedName
protected String lookupName
protected Set<InjectionTarget> injectionTarget
protected String id
public String getName()
getName in interface JndiReferencepublic String getKey()
Keyablepublic MessageDestinationRef name(String messageDestinationRefName)
public MessageDestinationRef type(String messageDestinationType)
public MessageDestinationRef type(Class<?> messageDestinationType)
public MessageDestinationRef link(String messageDestinationLink)
public MessageDestinationRef mappedName(String mappedName)
public MessageDestinationRef lookup(String lookupName)
public MessageDestinationRef injectionTarget(String className, String property)
public MessageDestinationRef injectionTarget(Class<?> clazz, String property)
public String getType()
getType in interface JndiReferencepublic void setName(String name)
setName in interface JndiReferencepublic void setType(String type)
setType in interface JndiReferencepublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public String getMessageDestinationRefName()
public void setMessageDestinationRefName(String value)
public String getMessageDestinationType()
public void setMessageDestinationType(String value)
public MessageDestinationUsage getMessageDestinationUsage()
public void setMessageDestinationUsage(MessageDestinationUsage value)
public String getMessageDestinationLink()
public void setMessageDestinationLink(String value)
public String getMappedName()
getMappedName in interface JndiReferencepublic void setMappedName(String value)
setMappedName in interface JndiReferencepublic String getLookupName()
getLookupName in interface JndiReferencepublic void setLookupName(String lookupName)
setLookupName in interface JndiReferencepublic Set<InjectionTarget> getInjectionTarget()
getInjectionTarget in interface Injectablepublic String getId()
public void setId(String value)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.