Interface ResourceAdapterType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ResourceAdapterTypeImpl
public interface ResourceAdapterType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
resource-adapterType xsd type-
Method Summary
Modifier and TypeMethodDescriptionSets thearchiveelementbootstrapContext(String bootstrapContext) Sets thebootstrap-contextelementCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns thearchiveelementReturns thebootstrap-contextelementIf not already created, a newadmin-objectselement with the given value will be created.If not already created, a newbean-validation-groupselement with the given value will be created.If not already created, a newconfig-propertyelement will be created and returned.If not already created, a newconnection-definitionselement with the given value will be created.Returns thetransaction-supportelementReturns thetransaction-supportelementRemoves theadmin-objectselementRemoves allconfig-propertyelementsRemoves thearchiveelementRemoves thebean-validation-groupselementRemoves thebootstrap-contextelementRemoves theconnection-definitionselementRemoves thetransaction-supportattributetransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
archive
Sets thearchiveelement- Parameters:
archive- the value for the elementarchive- Returns:
- the current instance of
ResourceAdapterType
-
getArchive
String getArchive()Returns thearchiveelement- Returns:
- the node defined for the element
archive
-
removeArchive
ResourceAdapterType<T> removeArchive()Removes thearchiveelement- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateBeanValidationGroups
BeanValidationGroupsType<ResourceAdapterType<T>> getOrCreateBeanValidationGroups()If not already created, a newbean-validation-groupselement with the given value will be created. Otherwise, the existingbean-validation-groupselement will be returned.- Returns:
- a new or existing instance of
BeanValidationGroupsTypeinvalid input: '<'ResourceAdapterType>
-
removeBeanValidationGroups
ResourceAdapterType<T> removeBeanValidationGroups()Removes thebean-validation-groupselement- Returns:
- the current instance of
ResourceAdapterType
-
bootstrapContext
Sets thebootstrap-contextelement- Parameters:
bootstrapContext- the value for the elementbootstrap-context- Returns:
- the current instance of
ResourceAdapterType
-
getBootstrapContext
String getBootstrapContext()Returns thebootstrap-contextelement- Returns:
- the node defined for the element
bootstrap-context
-
removeBootstrapContext
ResourceAdapterType<T> removeBootstrapContext()Removes thebootstrap-contextelement- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateConfigProperty
ConfigPropertyType<ResourceAdapterType<T>> getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty()Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyTypeinvalid input: '<'ResourceAdapterType>
-
getAllConfigProperty
List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
ResourceAdapterType<T> removeAllConfigProperty()Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyTypeinvalid input: '<'ResourceAdapterType>
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ResourceAdapterType
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ResourceAdapterType
-
getTransactionSupport
TransactionSupportType getTransactionSupport()Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
String getTransactionSupportAsString()Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
ResourceAdapterType<T> removeTransactionSupport()Removes thetransaction-supportattribute- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateConnectionDefinitions
ConnectionDefinitionsType<ResourceAdapterType<T>> getOrCreateConnectionDefinitions()If not already created, a newconnection-definitionselement with the given value will be created. Otherwise, the existingconnection-definitionselement will be returned.- Returns:
- a new or existing instance of
ConnectionDefinitionsTypeinvalid input: '<'ResourceAdapterType>
-
removeConnectionDefinitions
ResourceAdapterType<T> removeConnectionDefinitions()Removes theconnection-definitionselement- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateAdminObjects
AdminObjectsType<ResourceAdapterType<T>> getOrCreateAdminObjects()If not already created, a newadmin-objectselement with the given value will be created. Otherwise, the existingadmin-objectselement will be returned.- Returns:
- a new or existing instance of
AdminObjectsTypeinvalid input: '<'ResourceAdapterType>
-
removeAdminObjects
ResourceAdapterType<T> removeAdminObjects()Removes theadmin-objectselement- Returns:
- the current instance of
ResourceAdapterType
-