|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceManagerType<T>
This interface defines the contract for the resource-managerType xsd type
Original Documentation:
The resource-manager element is used to provide a mapping between the "xml
name" of a resource (res-name) and its "runtime jndi name" (res-jndi-name or res-url
according to the type of the resource). If it is not provided, and if the type of the
resource is javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
tree. See resource-managers. Used in: resource-managers
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getResClass()
Returns the res-class element |
java.lang.String |
getResJndiName()
Returns the res-jndi-name element |
java.lang.String |
getResName()
Returns the res-name element |
java.lang.String |
getResUrl()
Returns the res-url element |
ResourceManagerType<T> |
removeAllDescription()
Removes the description element |
ResourceManagerType<T> |
removeResClass()
Removes the res-class attribute |
ResourceManagerType<T> |
removeResJndiName()
Removes the res-jndi-name element |
ResourceManagerType<T> |
removeResName()
Removes the res-name element |
ResourceManagerType<T> |
removeResUrl()
Removes the res-url element |
ResourceManagerType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ResourceManagerType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ResourceManagerType<T> |
setResClass(java.lang.String resClass)
Sets the res-class attribute |
ResourceManagerType<T> |
setResJndiName(java.lang.String resJndiName)
If not already created, a new res-jndi-name element with the given value will be created. |
ResourceManagerType<T> |
setResName(java.lang.String resName)
If not already created, a new res-name element with the given value will be created. |
ResourceManagerType<T> |
setResUrl(java.lang.String resUrl)
If not already created, a new res-url element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
ResourceManagerType<T> setDescription(java.lang.String description)
description element
ResourceManagerTypeResourceManagerType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
ResourceManagerTypeResourceManagerType<T> removeAllDescription()
description element
ResourceManagerTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionResourceManagerType<T> setResName(java.lang.String resName)
res-name element with the given value will be created.
Otherwise, the existing res-name element will be updated with the given value.
ResourceManagerTypeResourceManagerType<T> removeResName()
res-name element
ResourceManagerTypejava.lang.String getResName()
res-name element
res-nameResourceManagerType<T> setResJndiName(java.lang.String resJndiName)
res-jndi-name element with the given value will be created.
Otherwise, the existing res-jndi-name element will be updated with the given value.
ResourceManagerTypeResourceManagerType<T> removeResJndiName()
res-jndi-name element
ResourceManagerTypejava.lang.String getResJndiName()
res-jndi-name element
res-jndi-nameResourceManagerType<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.
ResourceManagerTypeResourceManagerType<T> removeResUrl()
res-url element
ResourceManagerTypejava.lang.String getResUrl()
res-url element
res-urlResourceManagerType<T> setResClass(java.lang.String resClass)
res-class attribute
resClass - the value for the attribute res-class
ResourceManagerTypeResourceManagerType<T> removeResClass()
res-class attribute
ResourceManagerTypejava.lang.String getResClass()
res-class element
res-class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||