|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.EjbLocalRefTypeImpl<T>
public class EjbLocalRefTypeImpl<T>
This class implements the ejb-local-refType
xsd type
Original Documentation:
The ejb-local-ref element is used to give the jndi-name of an external ejb
reference. In the case of an external ejb reference, you don't provide a ejb-link element in
ejb-jar.xml, but you provide a jndi-name in jboss.xml
Constructor Summary | |
---|---|
EjbLocalRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
EjbLocalRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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 |
getJndiName()
Returns the jndi-name element |
java.lang.String |
getLocal()
Returns the local element |
java.lang.String |
getLocalHome()
Returns the local-home element |
java.lang.String |
getLocalJndiName()
Returns the local-jndi-name element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
EjbLocalRefType<T> |
ignoreDependency()
|
InjectionTargetType<EjbLocalRefType<T>> |
injectionTarget()
Returns the injection-target element |
java.lang.Boolean |
isIgnoreDependency()
|
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> |
removeJndiName()
Removes the jndi-name element |
EjbLocalRefType<T> |
removeLocal()
Removes the local element |
EjbLocalRefType<T> |
removeLocalHome()
Removes the local-home element |
EjbLocalRefType<T> |
removeLocalJndiName()
Removes the local-jndi-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> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name 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> |
setLocalJndiName(java.lang.String localJndiName)
If not already created, a new local-jndi-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. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EjbLocalRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public EjbLocalRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public EjbLocalRefType<T> setJndiName(java.lang.String jndiName)
jndi-name
element with the given value will be created.
Otherwise, the existing jndi-name
element will be updated with the given value.
setJndiName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeJndiName()
jndi-name
element
removeJndiName
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getJndiName()
jndi-name
element
getJndiName
in interface EjbLocalRefType<T>
jndi-name
public 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.
setMappedName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeMappedName()
mapped-name
element
removeMappedName
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getMappedName()
mapped-name
element
getMappedName
in interface EjbLocalRefType<T>
mapped-name
public EjbLocalRefType<T> removeAllInjectionTarget()
injection-target
elements
removeAllInjectionTarget
in interface EjbLocalRefType<T>
EjbLocalRefType
public InjectionTargetType<EjbLocalRefType<T>> injectionTarget()
injection-target
element
injectionTarget
in interface EjbLocalRefType<T>
injection-target
public java.util.List<InjectionTargetType<EjbLocalRefType<T>>> getInjectionTargetList()
injection-target
elements
getInjectionTargetList
in interface EjbLocalRefType<T>
injection-target
public EjbLocalRefType<T> ignoreDependency()
ignoreDependency
in interface EjbLocalRefType<T>
public java.lang.Boolean isIgnoreDependency()
isIgnoreDependency
in interface EjbLocalRefType<T>
public EjbLocalRefType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface EjbLocalRefType<T>
list
- of description
objects
EjbLocalRefType
public EjbLocalRefType<T> removeAllDescription()
description
element
removeAllDescription
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface EjbLocalRefType<T>
description
public 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.
setEjbRefName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeEjbRefName()
ejb-ref-name
element
removeEjbRefName
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getEjbRefName()
ejb-ref-name
element
getEjbRefName
in interface EjbLocalRefType<T>
ejb-ref-name
public 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.
setEjbRefType
in interface EjbLocalRefType<T>
EjbLocalRefType
public 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.
setEjbRefType
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbRefTypeType getEjbRefType()
ejb-ref-type
element
getEjbRefType
in interface EjbLocalRefType<T>
ejb-ref-type
public java.lang.String getEjbRefTypeAsString()
ejb-ref-type
element
getEjbRefTypeAsString
in interface EjbLocalRefType<T>
ejb-ref-type
public 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.
setLocalHome
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeLocalHome()
local-home
element
removeLocalHome
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getLocalHome()
local-home
element
getLocalHome
in interface EjbLocalRefType<T>
local-home
public 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.
setLocal
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeLocal()
local
element
removeLocal
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getLocal()
local
element
getLocal
in interface EjbLocalRefType<T>
local
public 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.
setEjbLink
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeEjbLink()
ejb-link
element
removeEjbLink
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getEjbLink()
ejb-link
element
getEjbLink
in interface EjbLocalRefType<T>
ejb-link
public EjbLocalRefType<T> setLocalJndiName(java.lang.String localJndiName)
local-jndi-name
element with the given value will be created.
Otherwise, the existing local-jndi-name
element will be updated with the given value.
setLocalJndiName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> removeLocalJndiName()
local-jndi-name
element
removeLocalJndiName
in interface EjbLocalRefType<T>
EjbLocalRefType
public java.lang.String getLocalJndiName()
local-jndi-name
element
getLocalJndiName
in interface EjbLocalRefType<T>
local-jndi-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |