public class ResourceAdapterTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceAdapterType<T>
resource-adapterType
xsd typeType | Property and Description |
---|---|
ConfigPropertyType<ResourceAdapterType<T>> |
createConfig
Creates a new
config-property element |
ResourceAdapterType<T> |
removeAllConfig
Removes all
config-property elements |
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 ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty
config-property
elementcreateConfigProperty
in interface ResourceAdapterType<T>
public ResourceAdapterType<T> removeAllConfigProperty
config-property
elementsremoveAllConfigProperty
in interface ResourceAdapterType<T>
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 archive
ResourceAdapterType
public String getArchive()
archive
elementgetArchive
in interface ResourceAdapterType<T>
archive
public ResourceAdapterType<T> removeArchive()
archive
elementremoveArchive
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
elementremoveBeanValidationGroups
in interface ResourceAdapterType<T>
ResourceAdapterType
public ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
bootstrap-context
elementbootstrapContext
in interface ResourceAdapterType<T>
bootstrapContext
- the value for the element bootstrap-context
ResourceAdapterType
public String getBootstrapContext()
bootstrap-context
elementgetBootstrapContext
in interface ResourceAdapterType<T>
bootstrap-context
public ResourceAdapterType<T> removeBootstrapContext()
bootstrap-context
elementremoveBootstrapContext
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
elementcreateConfigProperty
in interface ResourceAdapterType<T>
public List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface ResourceAdapterType<T>
config-property
public ResourceAdapterType<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface ResourceAdapterType<T>
public ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
transaction-support
elementtransactionSupport
in interface ResourceAdapterType<T>
transactionSupport
- the value for the element transaction-support
ResourceAdapterType
public ResourceAdapterType<T> transactionSupport(String transactionSupport)
transaction-support
elementtransactionSupport
in interface ResourceAdapterType<T>
transactionSupport
- the value for the element transaction-support
ResourceAdapterType
public TransactionSupportType getTransactionSupport()
transaction-support
elementgetTransactionSupport
in interface ResourceAdapterType<T>
transaction-support
public String getTransactionSupportAsString()
transaction-support
elementgetTransactionSupportAsString
in interface ResourceAdapterType<T>
transaction-support
public ResourceAdapterType<T> removeTransactionSupport()
transaction-support
attributeremoveTransactionSupport
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
elementremoveConnectionDefinitions
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
elementremoveAdminObjects
in interface ResourceAdapterType<T>
ResourceAdapterType
Copyright © 2017 JBoss by Red Hat. All rights reserved.