|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.ResourceRefTypeImpl<T>
public class ResourceRefTypeImpl<T>
This class implements the resource-refType
xsd type
Original Documentation:
The resource-ref element gives a mapping between the "code name" of a
resource (res-ref-name, provided by the Bean Developer) and its "xml name" (resource-name,
provided by the Application Assembler). If no resource-ref is provided, jboss will assume
that "xml-name" = "code name" See resource-managers.
Constructor Summary | |
---|---|
ResourceRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ResourceRefTypeImpl(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<ResourceRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getJndiName()
Returns the jndi-name element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
ResAuthType |
getResAuth()
Returns the res-auth element |
java.lang.String |
getResAuthAsString()
Returns the res-auth element |
java.lang.String |
getResourceName()
Returns the resource-name element |
java.lang.String |
getResRefName()
Returns the res-ref-name element |
ResSharingScopeType |
getResSharingScope()
Returns the res-sharing-scope element |
java.lang.String |
getResSharingScopeAsString()
Returns the res-sharing-scope element |
java.lang.String |
getResType()
Returns the res-type element |
java.lang.String |
getResUrl()
Returns the res-url element |
ResourceRefType<T> |
ignoreDependency()
|
InjectionTargetType<ResourceRefType<T>> |
injectionTarget()
Returns the injection-target element |
java.lang.Boolean |
isIgnoreDependency()
|
ResourceRefType<T> |
removeAllDescription()
Removes the description element |
ResourceRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
ResourceRefType<T> |
removeJndiName()
Removes the jndi-name element |
ResourceRefType<T> |
removeMappedName()
Removes the mapped-name element |
ResourceRefType<T> |
removeResourceName()
Removes the resource-name element |
ResourceRefType<T> |
removeResRefName()
Removes the res-ref-name element |
ResourceRefType<T> |
removeResType()
Removes the res-type element |
ResourceRefType<T> |
removeResUrl()
Removes the res-url element |
ResourceRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ResourceRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ResourceRefType<T> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. |
ResourceRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
ResourceRefType<T> |
setResAuth(ResAuthType resAuth)
If not already created, a new res-auth element with the given value will be created. |
ResourceRefType<T> |
setResAuth(java.lang.String resAuth)
If not already created, a new res-auth element with the given value will be created. |
ResourceRefType<T> |
setResourceName(java.lang.String resourceName)
If not already created, a new resource-name element with the given value will be created. |
ResourceRefType<T> |
setResRefName(java.lang.String resRefName)
If not already created, a new res-ref-name element with the given value will be created. |
ResourceRefType<T> |
setResSharingScope(ResSharingScopeType resSharingScope)
If not already created, a new res-sharing-scope element with the given value will be created. |
ResourceRefType<T> |
setResSharingScope(java.lang.String resSharingScope)
If not already created, a new res-sharing-scope element with the given value will be created. |
ResourceRefType<T> |
setResType(java.lang.String resType)
If not already created, a new res-type element with the given value will be created. |
ResourceRefType<T> |
setResUrl(java.lang.String resUrl)
If not already created, a new res-url 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 ResourceRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ResourceRefTypeImpl(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 ResourceRefType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ResourceRefType<T>
list
- of description
objects
ResourceRefType
public ResourceRefType<T> removeAllDescription()
description
element
removeAllDescription
in interface ResourceRefType<T>
ResourceRefType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ResourceRefType<T>
description
public ResourceRefType<T> setResRefName(java.lang.String resRefName)
res-ref-name
element with the given value will be created.
Otherwise, the existing res-ref-name
element will be updated with the given value.
setResRefName
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> removeResRefName()
res-ref-name
element
removeResRefName
in interface ResourceRefType<T>
ResourceRefType
public java.lang.String getResRefName()
res-ref-name
element
getResRefName
in interface ResourceRefType<T>
res-ref-name
public ResourceRefType<T> setResType(java.lang.String resType)
res-type
element with the given value will be created.
Otherwise, the existing res-type
element will be updated with the given value.
setResType
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> removeResType()
res-type
element
removeResType
in interface ResourceRefType<T>
ResourceRefType
public java.lang.String getResType()
res-type
element
getResType
in interface ResourceRefType<T>
res-type
public ResourceRefType<T> setResAuth(ResAuthType resAuth)
res-auth
element with the given value will be created.
Otherwise, the existing res-auth
element will be updated with the given value.
setResAuth
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> setResAuth(java.lang.String resAuth)
res-auth
element with the given value will be created.
Otherwise, the existing res-auth
element will be updated with the given value.
setResAuth
in interface ResourceRefType<T>
ResourceRefType
public ResAuthType getResAuth()
res-auth
element
getResAuth
in interface ResourceRefType<T>
res-auth
public java.lang.String getResAuthAsString()
res-auth
element
getResAuthAsString
in interface ResourceRefType<T>
res-auth
public ResourceRefType<T> setResSharingScope(ResSharingScopeType resSharingScope)
res-sharing-scope
element with the given value will be created.
Otherwise, the existing res-sharing-scope
element will be updated with the given value.
setResSharingScope
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> setResSharingScope(java.lang.String resSharingScope)
res-sharing-scope
element with the given value will be created.
Otherwise, the existing res-sharing-scope
element will be updated with the given value.
setResSharingScope
in interface ResourceRefType<T>
ResourceRefType
public ResSharingScopeType getResSharingScope()
res-sharing-scope
element
getResSharingScope
in interface ResourceRefType<T>
res-sharing-scope
public java.lang.String getResSharingScopeAsString()
res-sharing-scope
element
getResSharingScopeAsString
in interface ResourceRefType<T>
res-sharing-scope
public ResourceRefType<T> removeAllInjectionTarget()
injection-target
elements
removeAllInjectionTarget
in interface ResourceRefType<T>
ResourceRefType
public InjectionTargetType<ResourceRefType<T>> injectionTarget()
injection-target
element
injectionTarget
in interface ResourceRefType<T>
injection-target
public java.util.List<InjectionTargetType<ResourceRefType<T>>> getInjectionTargetList()
injection-target
elements
getInjectionTargetList
in interface ResourceRefType<T>
injection-target
public ResourceRefType<T> ignoreDependency()
ignoreDependency
in interface ResourceRefType<T>
public java.lang.Boolean isIgnoreDependency()
isIgnoreDependency
in interface ResourceRefType<T>
public ResourceRefType<T> setResourceName(java.lang.String resourceName)
resource-name
element with the given value will be created.
Otherwise, the existing resource-name
element will be updated with the given value.
setResourceName
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> removeResourceName()
resource-name
element
removeResourceName
in interface ResourceRefType<T>
ResourceRefType
public java.lang.String getResourceName()
resource-name
element
getResourceName
in interface ResourceRefType<T>
resource-name
public ResourceRefType<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 ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> removeJndiName()
jndi-name
element
removeJndiName
in interface ResourceRefType<T>
ResourceRefType
public java.lang.String getJndiName()
jndi-name
element
getJndiName
in interface ResourceRefType<T>
jndi-name
public ResourceRefType<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 ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> removeMappedName()
mapped-name
element
removeMappedName
in interface ResourceRefType<T>
ResourceRefType
public java.lang.String getMappedName()
mapped-name
element
getMappedName
in interface ResourceRefType<T>
mapped-name
public ResourceRefType<T> setResUrl(java.lang.String resUrl)
res-url
element with the given value will be created.
Otherwise, the existing res-url
element will be updated with the given value.
setResUrl
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> removeResUrl()
res-url
element
removeResUrl
in interface ResourceRefType<T>
ResourceRefType
public java.lang.String getResUrl()
res-url
element
getResUrl
in interface ResourceRefType<T>
res-url
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |