|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.JndiRefTypeImpl<T>
public class JndiRefTypeImpl<T>
This class implements the jndi-refType
xsd type
Original Documentation:
Used to inject generic types based on JNDI name
Constructor Summary | |
---|---|
JndiRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
JndiRefTypeImpl(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.util.List<InjectionTargetType<JndiRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getJndiName()
Returns the jndi-name element |
java.lang.String |
getJndiRefName()
Returns the jndi-ref-name element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
JndiRefType<T> |
ignoreDependency()
|
InjectionTargetType<JndiRefType<T>> |
injectionTarget()
Returns the injection-target element |
java.lang.Boolean |
isIgnoreDependency()
|
JndiRefType<T> |
removeAllDescription()
Removes the description element |
JndiRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
JndiRefType<T> |
removeJndiName()
Removes the jndi-name element |
JndiRefType<T> |
removeJndiRefName()
Removes the jndi-ref-name element |
JndiRefType<T> |
removeMappedName()
Removes the mapped-name element |
JndiRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
JndiRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
JndiRefType<T> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. |
JndiRefType<T> |
setJndiRefName(java.lang.String jndiRefName)
If not already created, a new jndi-ref-name element with the given value will be created. |
JndiRefType<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 JndiRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public JndiRefTypeImpl(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 JndiRefType<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 JndiRefType<T>
JndiRefType
public JndiRefType<T> removeJndiName()
jndi-name
element
removeJndiName
in interface JndiRefType<T>
JndiRefType
public java.lang.String getJndiName()
jndi-name
element
getJndiName
in interface JndiRefType<T>
jndi-name
public JndiRefType<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 JndiRefType<T>
JndiRefType
public JndiRefType<T> removeMappedName()
mapped-name
element
removeMappedName
in interface JndiRefType<T>
JndiRefType
public java.lang.String getMappedName()
mapped-name
element
getMappedName
in interface JndiRefType<T>
mapped-name
public JndiRefType<T> removeAllInjectionTarget()
injection-target
elements
removeAllInjectionTarget
in interface JndiRefType<T>
JndiRefType
public InjectionTargetType<JndiRefType<T>> injectionTarget()
injection-target
element
injectionTarget
in interface JndiRefType<T>
injection-target
public java.util.List<InjectionTargetType<JndiRefType<T>>> getInjectionTargetList()
injection-target
elements
getInjectionTargetList
in interface JndiRefType<T>
injection-target
public JndiRefType<T> ignoreDependency()
ignoreDependency
in interface JndiRefType<T>
public java.lang.Boolean isIgnoreDependency()
isIgnoreDependency
in interface JndiRefType<T>
public JndiRefType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface JndiRefType<T>
JndiRefType
public JndiRefType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface JndiRefType<T>
list
- of description
objects
JndiRefType
public JndiRefType<T> removeAllDescription()
description
element
removeAllDescription
in interface JndiRefType<T>
JndiRefType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface JndiRefType<T>
description
public JndiRefType<T> setJndiRefName(java.lang.String jndiRefName)
jndi-ref-name
element with the given value will be created.
Otherwise, the existing jndi-ref-name
element will be updated with the given value.
setJndiRefName
in interface JndiRefType<T>
JndiRefType
public JndiRefType<T> removeJndiRefName()
jndi-ref-name
element
removeJndiRefName
in interface JndiRefType<T>
JndiRefType
public java.lang.String getJndiRefName()
jndi-ref-name
element
getJndiRefName
in interface JndiRefType<T>
jndi-ref-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |