|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.ResourceManagersTypeImpl<T>
public class ResourceManagersTypeImpl<T>
This class implements the resource-managersType
xsd type
Original Documentation:
The resource-managers element is used to declare resource managers. A
resource has 3 names: - the "code name" is the name used in the code of the bean, supplied
by the Bean Developer in the resource-ref section of the ejb-jar.xml file - the "xml name"
is an intermediary name used by the Application Assembler to identify resources in the XML
file. - the "runtime jndi name" is the actual jndi-name or url of the deployed resource, it
is supplied by the Deployer. The mapping between the "code name" and the "xml name" is given
in the resource-ref section for the bean. If not, jboss will assume that "xml name" = "code
name". The mapping between the "xml name" and the "runtime jndi name" is given in a
resource-manager section. If not, and if the datasource is of type javax.sql.DataSource,
jboss will look for a javax.sql.DataSource in the jndi tree. Used in: jboss
Constructor Summary | |
---|---|
ResourceManagersTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ResourceManagersTypeImpl(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<ResourceManagerType<ResourceManagersType<T>>> |
getResourceManagerList()
Returns all resource-manager elements |
ResourceManagersType<T> |
removeAllDescription()
Removes the description element |
ResourceManagersType<T> |
removeAllResourceManager()
Removes all resource-manager elements |
ResourceManagerType<ResourceManagersType<T>> |
resourceManager()
Returns the resource-manager element |
ResourceManagersType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ResourceManagersType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceManagersTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ResourceManagersTypeImpl(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 ResourceManagersType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ResourceManagersType<T>
ResourceManagersType
public ResourceManagersType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ResourceManagersType<T>
list
- of description
objects
ResourceManagersType
public ResourceManagersType<T> removeAllDescription()
description
element
removeAllDescription
in interface ResourceManagersType<T>
ResourceManagersType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ResourceManagersType<T>
description
public ResourceManagersType<T> removeAllResourceManager()
resource-manager
elements
removeAllResourceManager
in interface ResourceManagersType<T>
ResourceManagersType
public ResourceManagerType<ResourceManagersType<T>> resourceManager()
resource-manager
element
resourceManager
in interface ResourceManagersType<T>
resource-manager
public java.util.List<ResourceManagerType<ResourceManagersType<T>>> getResourceManagerList()
resource-manager
elements
getResourceManagerList
in interface ResourceManagersType<T>
resource-manager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |