|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JndiRefType<T>
This interface defines the contract for the jndi-refType
xsd type
Method Summary | |
---|---|
InjectionTargetType<JndiRefType<T>> |
createInjectionTarget()
Creates a new injection-target element |
JndiRefType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
List<String> |
getAllDescription()
Returns all description elements |
List<InjectionTargetType<JndiRefType<T>>> |
getAllInjectionTarget()
Returns all injection-target elements |
String |
getId()
Returns the id attribute |
String |
getJndiName()
Returns the jndi-name element |
String |
getJndiRefName()
Returns the jndi-ref-name element |
String |
getMappedName()
Returns the mapped-name element |
InjectionTargetType<JndiRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new injection-target element will be created and returned. |
JndiRefType<T> |
id(String id)
Sets the id attribute |
JndiRefType<T> |
ignoreDependency()
Sets the ignore-dependency element |
Boolean |
isIgnoreDependency()
Removes the ignore-dependency element |
JndiRefType<T> |
jndiName(String jndiName)
Sets the jndi-name element |
JndiRefType<T> |
jndiRefName(String jndiRefName)
Sets the jndi-ref-name element |
JndiRefType<T> |
mappedName(String mappedName)
Sets the mapped-name element |
JndiRefType<T> |
removeAllDescription()
Removes the description element |
JndiRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
JndiRefType<T> |
removeId()
Removes the id attribute |
JndiRefType<T> |
removeIgnoreDependency()
Removes the ignore-dependency element |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
JndiRefType<T> jndiName(String jndiName)
jndi-name
element
jndiName
- the value for the element jndi-name
JndiRefType
String getJndiName()
jndi-name
element
jndi-name
JndiRefType<T> removeJndiName()
jndi-name
element
JndiRefType
JndiRefType<T> mappedName(String mappedName)
mapped-name
element
mappedName
- the value for the element mapped-name
JndiRefType
String getMappedName()
mapped-name
element
mapped-name
JndiRefType<T> removeMappedName()
mapped-name
element
JndiRefType
InjectionTargetType<JndiRefType<T>> getOrCreateInjectionTarget()
injection-target
element will be created and returned.
Otherwise, the first existing injection-target
element will be returned.
injection-target
InjectionTargetType<JndiRefType<T>> createInjectionTarget()
injection-target
element
InjectionTargetType>
List<InjectionTargetType<JndiRefType<T>>> getAllInjectionTarget()
injection-target
elements
injection-target
JndiRefType<T> removeAllInjectionTarget()
injection-target
elements
InjectionTargetType>
JndiRefType<T> ignoreDependency()
ignore-dependency
element
JndiRefType
Boolean isIgnoreDependency()
ignore-dependency
element
JndiRefType
JndiRefType<T> removeIgnoreDependency()
ignore-dependency
element
JndiRefType
JndiRefType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
JndiRefType
List<String> getAllDescription()
description
elements
description
JndiRefType<T> removeAllDescription()
description
element
JndiRefType
JndiRefType<T> jndiRefName(String jndiRefName)
jndi-ref-name
element
jndiRefName
- the value for the element jndi-ref-name
JndiRefType
String getJndiRefName()
jndi-ref-name
element
jndi-ref-name
JndiRefType<T> removeJndiRefName()
jndi-ref-name
element
JndiRefType
JndiRefType<T> id(String id)
id
attribute
id
- the value for the attribute id
JndiRefType
String getId()
id
attribute
id
JndiRefType<T> removeId()
id
attribute
JndiRefType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |