public class EjbLocalRef extends java.lang.Object implements EjbReference
Java class for ejb-local-refType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ejb-local-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="local-home" type="{http://java.sun.com/xml/ns/javaee}local-homeType" minOccurs="0"/> <element name="local" type="{http://java.sun.com/xml/ns/javaee}localType" 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 java.lang.String |
ejbLink |
protected java.lang.String |
ejbRefName |
protected EjbRefType |
ejbRefType |
protected java.lang.String |
id |
protected java.util.Set<InjectionTarget> |
injectionTarget |
protected java.lang.String |
local |
protected java.lang.String |
localHome |
protected java.lang.String |
lookupName |
protected java.lang.String |
mappedName |
Constructor and Description |
---|
EjbLocalRef() |
EjbLocalRef(EjbReference ref) |
EjbLocalRef(java.lang.String ejbRefName,
java.lang.String ejbLink) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getEjbLink() |
java.lang.String |
getEjbRefName() |
EjbRefType |
getEjbRefType() |
java.lang.String |
getHome() |
java.lang.String |
getId() |
java.util.Set<InjectionTarget> |
getInjectionTarget() |
java.lang.String |
getInterface() |
java.lang.String |
getKey()
Gets the immutable key for this object.
|
java.lang.String |
getLocal() |
java.lang.String |
getLocalHome() |
java.lang.String |
getLookupName() |
java.lang.String |
getMappedName() |
java.lang.String |
getName() |
EjbReference.Type |
getRefType() |
java.lang.String |
getType() |
EjbLocalRef |
injectionTarget(java.lang.Class<?> clazz,
java.lang.String property) |
EjbLocalRef |
injectionTarget(java.lang.String className,
java.lang.String property) |
EjbLocalRef |
link(java.lang.String link) |
EjbLocalRef |
local(java.lang.Class<?> local) |
EjbLocalRef |
local(java.lang.String local) |
EjbLocalRef |
localHome(java.lang.Class<?> localHome) |
EjbLocalRef |
localHome(java.lang.String localHome) |
EjbLocalRef |
lookup(java.lang.String lookupName) |
EjbLocalRef |
mappedName(java.lang.String mappedName) |
EjbLocalRef |
name(java.lang.String ejbRefName) |
void |
setDescriptions(Text[] text) |
void |
setEjbLink(java.lang.String value)
The value of the ejb-link element must be the ejb-name of an
enterprise bean in the same ejb-jar file or in another ejb-jar
file in the same Java EE application unit.
|
void |
setEjbRefName(java.lang.String value)
The ejb-ref-name element contains the name of an EJB
reference.
|
void |
setEjbRefType(EjbRefType value) |
void |
setId(java.lang.String value) |
void |
setLocal(java.lang.String value) |
void |
setLocalHome(java.lang.String value) |
void |
setLookupName(java.lang.String lookupName) |
void |
setMappedName(java.lang.String value) |
void |
setName(java.lang.String name) |
void |
setRefType(EjbReference.Type refType) |
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
EjbLocalRef |
type(EjbRefType ejbRefType) |
protected TextMap description
protected java.lang.String ejbRefName
protected EjbRefType ejbRefType
protected java.lang.String localHome
protected java.lang.String local
protected java.lang.String ejbLink
protected java.lang.String mappedName
protected java.lang.String lookupName
protected java.util.Set<InjectionTarget> injectionTarget
protected java.lang.String id
public EjbLocalRef()
public EjbLocalRef(java.lang.String ejbRefName, java.lang.String ejbLink)
public EjbLocalRef(EjbReference ref)
public EjbLocalRef name(java.lang.String ejbRefName)
public EjbLocalRef type(EjbRefType ejbRefType)
public EjbLocalRef link(java.lang.String link)
public EjbLocalRef local(java.lang.String local)
public EjbLocalRef local(java.lang.Class<?> local)
public EjbLocalRef localHome(java.lang.String localHome)
public EjbLocalRef localHome(java.lang.Class<?> localHome)
public EjbLocalRef mappedName(java.lang.String mappedName)
public EjbLocalRef lookup(java.lang.String lookupName)
public EjbLocalRef injectionTarget(java.lang.String className, java.lang.String property)
public EjbLocalRef injectionTarget(java.lang.Class<?> clazz, java.lang.String property)
public java.lang.String getName()
getName
in interface JndiReference
public java.lang.String getKey()
Keyable
public java.lang.String getType()
getType
in interface JndiReference
public void setName(java.lang.String name)
setName
in interface JndiReference
public void setType(java.lang.String type)
setType
in interface JndiReference
public Text[] getDescriptions()
getDescriptions
in interface EjbReference
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public java.lang.String getEjbRefName()
public void setEjbRefName(java.lang.String value)
public EjbRefType getEjbRefType()
getEjbRefType
in interface EjbReference
public void setEjbRefType(EjbRefType value)
public java.lang.String getLocalHome()
public java.lang.String getHome()
getHome
in interface EjbReference
public java.lang.String getInterface()
getInterface
in interface EjbReference
public EjbReference.Type getRefType()
getRefType
in interface EjbReference
public void setRefType(EjbReference.Type refType)
setRefType
in interface EjbReference
public void setLocalHome(java.lang.String value)
public java.lang.String getLocal()
public void setLocal(java.lang.String value)
public java.lang.String getEjbLink()
getEjbLink
in interface EjbReference
public void setEjbLink(java.lang.String value)
public java.lang.String getMappedName()
getMappedName
in interface JndiReference
public void setMappedName(java.lang.String value)
setMappedName
in interface JndiReference
public java.lang.String getLookupName()
getLookupName
in interface JndiReference
public void setLookupName(java.lang.String lookupName)
setLookupName
in interface JndiReference
public java.util.Set<InjectionTarget> getInjectionTarget()
getInjectionTarget
in interface Injectable
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object