public class EjbLocalRef extends 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 String |
ejbLink |
protected String |
ejbRefName |
protected EjbRefType |
ejbRefType |
protected String |
id |
protected Set<InjectionTarget> |
injectionTarget |
protected String |
local |
protected String |
localHome |
protected String |
lookupName |
protected String |
mappedName |
| Constructor and Description |
|---|
EjbLocalRef() |
EjbLocalRef(EjbReference ref) |
EjbLocalRef(String ejbRefName,
String ejbLink) |
protected TextMap description
protected String ejbRefName
protected EjbRefType ejbRefType
protected String localHome
protected String local
protected String ejbLink
protected String mappedName
protected String lookupName
protected Set<InjectionTarget> injectionTarget
protected String id
public EjbLocalRef()
public EjbLocalRef(EjbReference ref)
public EjbLocalRef name(String ejbRefName)
public EjbLocalRef type(EjbRefType ejbRefType)
public EjbLocalRef link(String link)
public EjbLocalRef local(String local)
public EjbLocalRef local(Class<?> local)
public EjbLocalRef localHome(String localHome)
public EjbLocalRef localHome(Class<?> localHome)
public EjbLocalRef mappedName(String mappedName)
public EjbLocalRef lookup(String lookupName)
public EjbLocalRef injectionTarget(String className, String property)
public EjbLocalRef injectionTarget(Class<?> clazz, String property)
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 Text[] getDescriptions()
getDescriptions in interface EjbReferencepublic void setDescriptions(Text[] text)
public String getDescription()
public String getEjbRefName()
public void setEjbRefName(String value)
public EjbRefType getEjbRefType()
getEjbRefType in interface EjbReferencepublic void setEjbRefType(EjbRefType value)
public String getLocalHome()
public String getHome()
getHome in interface EjbReferencepublic String getInterface()
getInterface in interface EjbReferencepublic EjbReference.Type getRefType()
getRefType in interface EjbReferencepublic void setRefType(EjbReference.Type refType)
setRefType in interface EjbReferencepublic void setLocalHome(String value)
public String getLocal()
public void setLocal(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.