|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resourceadapters.impl.ResourceAdapterTypeImpl<T>
public class ResourceAdapterTypeImpl<T>
This class implements the resource-adapterType
xsd type
Constructor Summary | |
---|---|
ResourceAdapterTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node)
|
|
ResourceAdapterTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
|
Method Summary | |
---|---|
ResourceAdapterType<T> |
archive(String archive)
Sets the archive element |
ResourceAdapterType<T> |
bootstrapContext(String bootstrapContext)
Sets the bootstrap-context element |
ConfigPropertyType<ResourceAdapterType<T>> |
createConfigProperty()
Creates a new config-property element |
List<ConfigPropertyType<ResourceAdapterType<T>>> |
getAllConfigProperty()
Returns all config-property elements |
String |
getArchive()
Returns the archive element |
String |
getBootstrapContext()
Returns the bootstrap-context element |
AdminObjectsType<ResourceAdapterType<T>> |
getOrCreateAdminObjects()
If not already created, a new admin-objects element with the given value will be created. |
BeanValidationGroupsType<ResourceAdapterType<T>> |
getOrCreateBeanValidationGroups()
If not already created, a new bean-validation-groups element with the given value will be created. |
ConfigPropertyType<ResourceAdapterType<T>> |
getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. |
ConnectionDefinitionsType<ResourceAdapterType<T>> |
getOrCreateConnectionDefinitions()
If not already created, a new connection-definitions element with the given value will be created. |
TransactionSupportType |
getTransactionSupport()
Returns the transaction-support element |
String |
getTransactionSupportAsString()
Returns the transaction-support element |
ResourceAdapterType<T> |
removeAdminObjects()
Removes the admin-objects element |
ResourceAdapterType<T> |
removeAllConfigProperty()
Removes all config-property elements |
ResourceAdapterType<T> |
removeArchive()
Removes the archive element |
ResourceAdapterType<T> |
removeBeanValidationGroups()
Removes the bean-validation-groups element |
ResourceAdapterType<T> |
removeBootstrapContext()
Removes the bootstrap-context element |
ResourceAdapterType<T> |
removeConnectionDefinitions()
Removes the connection-definitions element |
ResourceAdapterType<T> |
removeTransactionSupport()
Removes the transaction-support attribute |
ResourceAdapterType<T> |
transactionSupport(String transactionSupport)
Sets the transaction-support element |
ResourceAdapterType<T> |
transactionSupport(TransactionSupportType transactionSupport)
Sets the transaction-support element |
T |
up()
Returns the parent of this Child |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceAdapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ResourceAdapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail |
---|
public T up()
Child
Child
up
in interface Child<T>
Child
public ResourceAdapterType<T> archive(String archive)
archive
element
archive
in interface ResourceAdapterType<T>
archive
- the value for the element archive
ResourceAdapterType
public String getArchive()
archive
element
getArchive
in interface ResourceAdapterType<T>
archive
public ResourceAdapterType<T> removeArchive()
archive
element
removeArchive
in interface ResourceAdapterType<T>
ResourceAdapterType
public BeanValidationGroupsType<ResourceAdapterType<T>> getOrCreateBeanValidationGroups()
bean-validation-groups
element with the given value will be created.
Otherwise, the existing bean-validation-groups
element will be returned.
getOrCreateBeanValidationGroups
in interface ResourceAdapterType<T>
BeanValidationGroupsType>
public ResourceAdapterType<T> removeBeanValidationGroups()
bean-validation-groups
element
removeBeanValidationGroups
in interface ResourceAdapterType<T>
ResourceAdapterType
public ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
bootstrap-context
element
bootstrapContext
in interface ResourceAdapterType<T>
bootstrapContext
- the value for the element bootstrap-context
ResourceAdapterType
public String getBootstrapContext()
bootstrap-context
element
getBootstrapContext
in interface ResourceAdapterType<T>
bootstrap-context
public ResourceAdapterType<T> removeBootstrapContext()
bootstrap-context
element
removeBootstrapContext
in interface ResourceAdapterType<T>
ResourceAdapterType
public ConfigPropertyType<ResourceAdapterType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.
getOrCreateConfigProperty
in interface ResourceAdapterType<T>
config-property
public ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty()
config-property
element
createConfigProperty
in interface ResourceAdapterType<T>
ConfigPropertyType>
public List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()
config-property
elements
getAllConfigProperty
in interface ResourceAdapterType<T>
config-property
public ResourceAdapterType<T> removeAllConfigProperty()
config-property
elements
removeAllConfigProperty
in interface ResourceAdapterType<T>
ConfigPropertyType>
public ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
transaction-support
element
transactionSupport
in interface ResourceAdapterType<T>
transactionSupport
- the value for the element transaction-support
ResourceAdapterType
public ResourceAdapterType<T> transactionSupport(String transactionSupport)
transaction-support
element
transactionSupport
in interface ResourceAdapterType<T>
transactionSupport
- the value for the element transaction-support
ResourceAdapterType
public TransactionSupportType getTransactionSupport()
transaction-support
element
getTransactionSupport
in interface ResourceAdapterType<T>
transaction-support
public String getTransactionSupportAsString()
transaction-support
element
getTransactionSupportAsString
in interface ResourceAdapterType<T>
transaction-support
public ResourceAdapterType<T> removeTransactionSupport()
transaction-support
attribute
removeTransactionSupport
in interface ResourceAdapterType<T>
ResourceAdapterType
public ConnectionDefinitionsType<ResourceAdapterType<T>> getOrCreateConnectionDefinitions()
connection-definitions
element with the given value will be created.
Otherwise, the existing connection-definitions
element will be returned.
getOrCreateConnectionDefinitions
in interface ResourceAdapterType<T>
ConnectionDefinitionsType>
public ResourceAdapterType<T> removeConnectionDefinitions()
connection-definitions
element
removeConnectionDefinitions
in interface ResourceAdapterType<T>
ResourceAdapterType
public AdminObjectsType<ResourceAdapterType<T>> getOrCreateAdminObjects()
admin-objects
element with the given value will be created.
Otherwise, the existing admin-objects
element will be returned.
getOrCreateAdminObjects
in interface ResourceAdapterType<T>
AdminObjectsType>
public ResourceAdapterType<T> removeAdminObjects()
admin-objects
element
removeAdminObjects
in interface ResourceAdapterType<T>
ResourceAdapterType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |