Class ResourceAdapterTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters11.impl.ResourceAdapterTypeImpl<T>
- All Implemented Interfaces:
ResourceAdapterType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class ResourceAdapterTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceAdapterType<T>
This class implements the
resource-adapterType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionResourceAdapterTypeImpl(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
Modifier and TypeMethodDescriptionSets thearchiveelementbootstrapContext(String bootstrapContext) Sets thebootstrap-contextelementCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns thearchiveelementReturns thebootstrap-contextelementgetId()Returns theidattributeIf 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.If not already created, a newworkmanagerelement with the given value will be created.Returns thetransaction-supportelementReturns thetransaction-supportelementSets theidattributeRemoves theadmin-objectselementRemoves allconfig-propertyelementsRemoves thearchiveelementRemoves thebean-validation-groupselementRemoves thebootstrap-contextelementRemoves theconnection-definitionselementremoveId()Removes theidattributeRemoves thetransaction-supportattributeRemoves theworkmanagerelementtransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementup()
-
Constructor Details
-
ResourceAdapterTypeImpl
-
ResourceAdapterTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
archive
Sets thearchiveelement- Specified by:
archivein interfaceResourceAdapterType<T>- Parameters:
archive- the value for the elementarchive- Returns:
- the current instance of
ResourceAdapterType
-
getArchive
Returns thearchiveelement- Specified by:
getArchivein interfaceResourceAdapterType<T>- Returns:
- the node defined for the element
archive
-
removeArchive
Removes thearchiveelement- Specified by:
removeArchivein interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateBeanValidationGroups
If not already created, a newbean-validation-groupselement with the given value will be created. Otherwise, the existingbean-validation-groupselement will be returned.- Specified by:
getOrCreateBeanValidationGroupsin interfaceResourceAdapterType<T>- Returns:
- a new or existing instance of
BeanValidationGroupsTypeinvalid input: '<'ResourceAdapterType>
-
removeBeanValidationGroups
Removes thebean-validation-groupselement- Specified by:
removeBeanValidationGroupsin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
bootstrapContext
Sets thebootstrap-contextelement- Specified by:
bootstrapContextin interfaceResourceAdapterType<T>- Parameters:
bootstrapContext- the value for the elementbootstrap-context- Returns:
- the current instance of
ResourceAdapterType
-
getBootstrapContext
Returns thebootstrap-contextelement- Specified by:
getBootstrapContextin interfaceResourceAdapterType<T>- Returns:
- the node defined for the element
bootstrap-context
-
removeBootstrapContext
Removes thebootstrap-contextelement- Specified by:
removeBootstrapContextin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceResourceAdapterType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceResourceAdapterType<T>- Returns:
- the new created instance of
ConfigPropertyTypeinvalid input: '<'ResourceAdapterType>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceResourceAdapterType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ConfigPropertyTypeinvalid input: '<'ResourceAdapterType>
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceResourceAdapterType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ResourceAdapterType
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceResourceAdapterType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ResourceAdapterType
-
getTransactionSupport
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceResourceAdapterType<T>- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
Returns thetransaction-supportelement- Specified by:
getTransactionSupportAsStringin interfaceResourceAdapterType<T>- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
Removes thetransaction-supportattribute- Specified by:
removeTransactionSupportin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateWorkmanager
If not already created, a newworkmanagerelement with the given value will be created. Otherwise, the existingworkmanagerelement will be returned.- Specified by:
getOrCreateWorkmanagerin interfaceResourceAdapterType<T>- Returns:
- a new or existing instance of
WorkmanagerTypeinvalid input: '<'ResourceAdapterType>
-
removeWorkmanager
Removes theworkmanagerelement- Specified by:
removeWorkmanagerin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateConnectionDefinitions
If not already created, a newconnection-definitionselement with the given value will be created. Otherwise, the existingconnection-definitionselement will be returned.- Specified by:
getOrCreateConnectionDefinitionsin interfaceResourceAdapterType<T>- Returns:
- a new or existing instance of
ConnectionDefinitionsTypeinvalid input: '<'ResourceAdapterType>
-
removeConnectionDefinitions
Removes theconnection-definitionselement- Specified by:
removeConnectionDefinitionsin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
getOrCreateAdminObjects
If not already created, a newadmin-objectselement with the given value will be created. Otherwise, the existingadmin-objectselement will be returned.- Specified by:
getOrCreateAdminObjectsin interfaceResourceAdapterType<T>- Returns:
- a new or existing instance of
AdminObjectsTypeinvalid input: '<'ResourceAdapterType>
-
removeAdminObjects
Removes theadmin-objectselement- Specified by:
removeAdminObjectsin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-
id
Sets theidattribute- Specified by:
idin interfaceResourceAdapterType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ResourceAdapterType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceResourceAdapterType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceResourceAdapterType<T>- Returns:
- the current instance of
ResourceAdapterType
-