public class ResourceAdapterTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceAdapterType<T>
resource-adapterType xsd type| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public ResourceAdapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ResourceAdapterType<T> archive(String archive)
archive elementarchive in interface ResourceAdapterType<T>archive - the value for the element archiveResourceAdapterTypepublic String getArchive()
archive elementgetArchive in interface ResourceAdapterType<T>archivepublic ResourceAdapterType<T> removeArchive()
archive elementremoveArchive in interface ResourceAdapterType<T>ResourceAdapterTypepublic 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 elementremoveBeanValidationGroups in interface ResourceAdapterType<T>ResourceAdapterTypepublic ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
bootstrap-context elementbootstrapContext in interface ResourceAdapterType<T>bootstrapContext - the value for the element bootstrap-contextResourceAdapterTypepublic String getBootstrapContext()
bootstrap-context elementgetBootstrapContext in interface ResourceAdapterType<T>bootstrap-contextpublic ResourceAdapterType<T> removeBootstrapContext()
bootstrap-context elementremoveBootstrapContext in interface ResourceAdapterType<T>ResourceAdapterTypepublic 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-propertypublic ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty()
config-property elementcreateConfigProperty in interface ResourceAdapterType<T>ConfigPropertyType> public List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface ResourceAdapterType<T>config-propertypublic ResourceAdapterType<T> removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface ResourceAdapterType<T>ConfigPropertyType> public ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
transaction-support elementtransactionSupport in interface ResourceAdapterType<T>transactionSupport - the value for the element transaction-supportResourceAdapterTypepublic ResourceAdapterType<T> transactionSupport(String transactionSupport)
transaction-support elementtransactionSupport in interface ResourceAdapterType<T>transactionSupport - the value for the element transaction-supportResourceAdapterTypepublic TransactionSupportType getTransactionSupport()
transaction-support elementgetTransactionSupport in interface ResourceAdapterType<T>transaction-supportpublic String getTransactionSupportAsString()
transaction-support elementgetTransactionSupportAsString in interface ResourceAdapterType<T>transaction-supportpublic ResourceAdapterType<T> removeTransactionSupport()
transaction-support attributeremoveTransactionSupport in interface ResourceAdapterType<T>ResourceAdapterTypepublic 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 elementremoveConnectionDefinitions in interface ResourceAdapterType<T>ResourceAdapterTypepublic 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 elementremoveAdminObjects in interface ResourceAdapterType<T>ResourceAdapterTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.