public class EjbRef extends Object implements EjbReference
Java class for ejb-refType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ejb-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="ejb-ref-name" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-nameType"/>
<element name="ejb-ref-type" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-typeType" minOccurs="0"/>
<element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
<element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
<element name="ejb-link" type="{http://java.sun.com/xml/ns/javaee}ejb-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>
EjbReference.Type| Modifier and Type | Field and Description |
|---|---|
protected TextMap |
description |
protected String |
ejbLink |
protected String |
ejbRefName |
protected EjbRefType |
ejbRefType |
protected String |
home |
protected String |
id |
protected Set<InjectionTarget> |
injectionTarget |
protected String |
lookupName |
protected String |
mappedName |
protected EjbReference.Type |
refType |
protected String |
remote |
| Constructor and Description |
|---|
EjbRef() |
protected TextMap description
protected String ejbRefName
protected EjbRefType ejbRefType
protected String home
protected String remote
protected String ejbLink
protected String mappedName
protected String lookupName
protected Set<InjectionTarget> injectionTarget
protected String id
protected EjbReference.Type refType
public EjbRef type(EjbRefType ejbRefType)
public EjbReference.Type getRefType()
getRefType in interface EjbReferencepublic void setRefType(EjbReference.Type refType)
setRefType in interface EjbReferencepublic Text[] getDescriptions()
getDescriptions in interface EjbReferencepublic void setDescriptions(Text[] text)
public String getDescription()
public String getEjbRefName()
public String getName()
getName in interface JndiReferencepublic String getKey()
Keyablepublic String getType()
getType in interface JndiReferencepublic void setName(String name)
setName in interface JndiReferencepublic void setType(String type)
setType in interface JndiReferencepublic void setEjbRefName(String value)
public EjbRefType getEjbRefType()
getEjbRefType in interface EjbReferencepublic void setEjbRefType(EjbRefType value)
public String getHome()
getHome in interface EjbReferencepublic void setHome(String value)
public String getRemote()
public String getInterface()
getInterface in interface EjbReferencepublic void setRemote(String value)
public String getEjbLink()
getEjbLink in interface EjbReferencepublic void setEjbLink(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–2017 The Apache Software Foundation. All rights reserved.