|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EjbLocalRefType<T>
This interface defines the contract for the ejb-local-refType
xsd type
Original Documentation:
The ejb-local-refType is used by ejb-local-ref elements for
the declaration of a reference to an enterprise bean's local
home or to the local business interface of a 3.0 bean.
The declaration consists of:
- an optional description
- the EJB reference name used in the code of the Deployment
Component that's referencing the enterprise bean.
- the optional expected type of the referenced enterprise bean
- the optional expected local interface of the referenced
enterprise bean or the local business interface of the
referenced enterprise bean.
- the optional expected local home interface of the referenced
enterprise bean. Not applicable if this ejb-local-ref refers
to the local business interface of a 3.0 bean.
- optional ejb-link information, used to specify the
referenced enterprise bean
- optional elements to define injection of the named enterprise
bean into a component field or property.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getEjbLink()
Returns the ejb-link element |
java.lang.String |
getEjbRefName()
Returns the ejb-ref-name element |
EjbRefTypeType |
getEjbRefType()
Returns the ejb-ref-type element |
java.lang.String |
getEjbRefTypeAsString()
Returns the ejb-ref-type element |
java.util.List<InjectionTargetType<EjbLocalRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getLocal()
Returns the local element |
java.lang.String |
getLocalHome()
Returns the local-home element |
java.lang.String |
getLookupName()
Returns the lookup-name element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
InjectionTargetType<EjbLocalRefType<T>> |
injectionTarget()
Returns the injection-target element |
EjbLocalRefType<T> |
removeAllDescription()
Removes the description element |
EjbLocalRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
EjbLocalRefType<T> |
removeEjbLink()
Removes the ejb-link element |
EjbLocalRefType<T> |
removeEjbRefName()
Removes the ejb-ref-name element |
EjbLocalRefType<T> |
removeLocal()
Removes the local element |
EjbLocalRefType<T> |
removeLocalHome()
Removes the local-home element |
EjbLocalRefType<T> |
removeLookupName()
Removes the lookup-name element |
EjbLocalRefType<T> |
removeMappedName()
Removes the mapped-name element |
EjbLocalRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
EjbLocalRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbLocalRefType<T> |
setEjbLink(java.lang.String ejbLink)
If not already created, a new ejb-link element with the given value will be created. |
EjbLocalRefType<T> |
setEjbRefName(java.lang.String ejbRefName)
If not already created, a new ejb-ref-name element with the given value will be created. |
EjbLocalRefType<T> |
setEjbRefType(EjbRefTypeType ejbRefType)
If not already created, a new ejb-ref-type element with the given value will be created. |
EjbLocalRefType<T> |
setEjbRefType(java.lang.String ejbRefType)
If not already created, a new ejb-ref-type element with the given value will be created. |
EjbLocalRefType<T> |
setLocal(java.lang.String local)
If not already created, a new local element with the given value will be created. |
EjbLocalRefType<T> |
setLocalHome(java.lang.String localHome)
If not already created, a new local-home element with the given value will be created. |
EjbLocalRefType<T> |
setLookupName(java.lang.String lookupName)
If not already created, a new lookup-name element with the given value will be created. |
EjbLocalRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EjbLocalRefType<T> setLookupName(java.lang.String lookupName)
lookup-name
element with the given value will be created.
Otherwise, the existing lookup-name
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> removeLookupName()
lookup-name
element
EjbLocalRefType
java.lang.String getLookupName()
lookup-name
element
lookup-name
EjbLocalRefType<T> setMappedName(java.lang.String mappedName)
mapped-name
element with the given value will be created.
Otherwise, the existing mapped-name
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> removeMappedName()
mapped-name
element
EjbLocalRefType
java.lang.String getMappedName()
mapped-name
element
mapped-name
EjbLocalRefType<T> removeAllInjectionTarget()
injection-target
elements
EjbLocalRefType
InjectionTargetType<EjbLocalRefType<T>> injectionTarget()
injection-target
element
injection-target
java.util.List<InjectionTargetType<EjbLocalRefType<T>>> getInjectionTargetList()
injection-target
elements
injection-target
EjbLocalRefType<T> setDescription(java.lang.String description)
description
element
EjbLocalRefType
EjbLocalRefType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
EjbLocalRefType
EjbLocalRefType<T> removeAllDescription()
description
element
EjbLocalRefType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
EjbLocalRefType<T> setEjbRefName(java.lang.String ejbRefName)
ejb-ref-name
element with the given value will be created.
Otherwise, the existing ejb-ref-name
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> removeEjbRefName()
ejb-ref-name
element
EjbLocalRefType
java.lang.String getEjbRefName()
ejb-ref-name
element
ejb-ref-name
EjbLocalRefType<T> setEjbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
element with the given value will be created.
Otherwise, the existing ejb-ref-type
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> setEjbRefType(java.lang.String ejbRefType)
ejb-ref-type
element with the given value will be created.
Otherwise, the existing ejb-ref-type
element will be updated with the given value.
EjbLocalRefType
EjbRefTypeType getEjbRefType()
ejb-ref-type
element
ejb-ref-type
java.lang.String getEjbRefTypeAsString()
ejb-ref-type
element
ejb-ref-type
EjbLocalRefType<T> setLocalHome(java.lang.String localHome)
local-home
element with the given value will be created.
Otherwise, the existing local-home
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> removeLocalHome()
local-home
element
EjbLocalRefType
java.lang.String getLocalHome()
local-home
element
local-home
EjbLocalRefType<T> setLocal(java.lang.String local)
local
element with the given value will be created.
Otherwise, the existing local
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> removeLocal()
local
element
EjbLocalRefType
java.lang.String getLocal()
local
element
local
EjbLocalRefType<T> setEjbLink(java.lang.String ejbLink)
ejb-link
element with the given value will be created.
Otherwise, the existing ejb-link
element will be updated with the given value.
EjbLocalRefType
EjbLocalRefType<T> removeEjbLink()
ejb-link
element
EjbLocalRefType
java.lang.String getEjbLink()
ejb-link
element
ejb-link
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |