public interface ResourceAdapterType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<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 |
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 |
config-property
elementConfigPropertyType>
config-property
elementsConfigPropertyType>
ResourceAdapterType<T> archive(String archive)
archive
elementarchive
- the value for the element archive
ResourceAdapterType
String getArchive()
archive
elementarchive
ResourceAdapterType<T> removeArchive()
archive
elementResourceAdapterType
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.BeanValidationGroupsType>
ResourceAdapterType<T> removeBeanValidationGroups()
bean-validation-groups
elementResourceAdapterType
ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
bootstrap-context
elementbootstrapContext
- the value for the element bootstrap-context
ResourceAdapterType
String getBootstrapContext()
bootstrap-context
elementbootstrap-context
ResourceAdapterType<T> removeBootstrapContext()
bootstrap-context
elementResourceAdapterType
ConfigPropertyType<ResourceAdapterType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.config-property
ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty()
config-property
elementConfigPropertyType>
List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()
config-property
elementsconfig-property
ResourceAdapterType<T> removeAllConfigProperty()
config-property
elementsConfigPropertyType>
ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
transaction-support
elementtransactionSupport
- the value for the element transaction-support
ResourceAdapterType
ResourceAdapterType<T> transactionSupport(String transactionSupport)
transaction-support
elementtransactionSupport
- the value for the element transaction-support
ResourceAdapterType
TransactionSupportType getTransactionSupport()
transaction-support
elementtransaction-support
String getTransactionSupportAsString()
transaction-support
elementtransaction-support
ResourceAdapterType<T> removeTransactionSupport()
transaction-support
attributeResourceAdapterType
ConnectionDefinitionsType<ResourceAdapterType<T>> getOrCreateConnectionDefinitions()
connection-definitions
element with the given value will be created.
Otherwise, the existing connection-definitions
element will be returned.ConnectionDefinitionsType>
ResourceAdapterType<T> removeConnectionDefinitions()
connection-definitions
elementResourceAdapterType
AdminObjectsType<ResourceAdapterType<T>> getOrCreateAdminObjects()
admin-objects
element with the given value will be created.
Otherwise, the existing admin-objects
element will be returned.AdminObjectsType>
ResourceAdapterType<T> removeAdminObjects()
admin-objects
elementResourceAdapterType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)