Class ValidationTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.datasources11.impl.ValidationTypeImpl<T>
- All Implemented Interfaces:
ValidationType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class ValidationTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ValidationType<T>
This class implements the
validationType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionValidationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ValidationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionbackgroundValidation(Boolean backgroundValidation) Sets thebackground-validationelementbackgroundValidationMillis(Integer backgroundValidationMillis) Sets thebackground-validation-milliselementcheckValidConnectionSql(String checkValidConnectionSql) Sets thecheck-valid-connection-sqlelementReturns thebackground-validation-milliselementReturns thecheck-valid-connection-sqlelementIf not already created, a newexception-sorterelement with the given value will be created.If not already created, a newstale-connection-checkerelement with the given value will be created.If not already created, a newvalid-connection-checkerelement with the given value will be created.Returns thebackground-validationelementReturns theuse-fast-failelementReturns thevalidate-on-matchelementRemoves thebackground-validationelementRemoves thebackground-validation-milliselementRemoves thecheck-valid-connection-sqlelementRemoves theexception-sorterelementRemoves thestale-connection-checkerelementRemoves theuse-fast-failelementRemoves thevalidate-on-matchelementRemoves thevalid-connection-checkerelementup()useFastFail(Boolean useFastFail) Sets theuse-fast-failelementvalidateOnMatch(Boolean validateOnMatch) Sets thevalidate-on-matchelement
-
Constructor Details
-
ValidationTypeImpl
-
ValidationTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
getOrCreateValidConnectionChecker
If not already created, a newvalid-connection-checkerelement with the given value will be created. Otherwise, the existingvalid-connection-checkerelement will be returned.- Specified by:
getOrCreateValidConnectionCheckerin interfaceValidationType<T>- Returns:
- a new or existing instance of
ExtensionTypeinvalid input: '<'ValidationType>
-
removeValidConnectionChecker
Removes thevalid-connection-checkerelement- Specified by:
removeValidConnectionCheckerin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
checkValidConnectionSql
Sets thecheck-valid-connection-sqlelement- Specified by:
checkValidConnectionSqlin interfaceValidationType<T>- Parameters:
checkValidConnectionSql- the value for the elementcheck-valid-connection-sql- Returns:
- the current instance of
ValidationType
-
getCheckValidConnectionSql
Returns thecheck-valid-connection-sqlelement- Specified by:
getCheckValidConnectionSqlin interfaceValidationType<T>- Returns:
- the node defined for the element
check-valid-connection-sql
-
removeCheckValidConnectionSql
Removes thecheck-valid-connection-sqlelement- Specified by:
removeCheckValidConnectionSqlin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
validateOnMatch
Sets thevalidate-on-matchelement- Specified by:
validateOnMatchin interfaceValidationType<T>- Parameters:
validateOnMatch- the value for the elementvalidate-on-match- Returns:
- the current instance of
ValidationType
-
isValidateOnMatch
Returns thevalidate-on-matchelement- Specified by:
isValidateOnMatchin interfaceValidationType<T>- Returns:
- the node defined for the element
validate-on-match
-
removeValidateOnMatch
Removes thevalidate-on-matchelement- Specified by:
removeValidateOnMatchin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
backgroundValidation
Sets thebackground-validationelement- Specified by:
backgroundValidationin interfaceValidationType<T>- Parameters:
backgroundValidation- the value for the elementbackground-validation- Returns:
- the current instance of
ValidationType
-
isBackgroundValidation
Returns thebackground-validationelement- Specified by:
isBackgroundValidationin interfaceValidationType<T>- Returns:
- the node defined for the element
background-validation
-
removeBackgroundValidation
Removes thebackground-validationelement- Specified by:
removeBackgroundValidationin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
backgroundValidationMillis
Sets thebackground-validation-milliselement- Specified by:
backgroundValidationMillisin interfaceValidationType<T>- Parameters:
backgroundValidationMillis- the value for the elementbackground-validation-millis- Returns:
- the current instance of
ValidationType
-
getBackgroundValidationMillis
Returns thebackground-validation-milliselement- Specified by:
getBackgroundValidationMillisin interfaceValidationType<T>- Returns:
- the node defined for the element
background-validation-millis
-
removeBackgroundValidationMillis
Removes thebackground-validation-milliselement- Specified by:
removeBackgroundValidationMillisin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
useFastFail
Sets theuse-fast-failelement- Specified by:
useFastFailin interfaceValidationType<T>- Parameters:
useFastFail- the value for the elementuse-fast-fail- Returns:
- the current instance of
ValidationType
-
isUseFastFail
Returns theuse-fast-failelement- Specified by:
isUseFastFailin interfaceValidationType<T>- Returns:
- the node defined for the element
use-fast-fail
-
removeUseFastFail
Removes theuse-fast-failelement- Specified by:
removeUseFastFailin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
getOrCreateStaleConnectionChecker
If not already created, a newstale-connection-checkerelement with the given value will be created. Otherwise, the existingstale-connection-checkerelement will be returned.- Specified by:
getOrCreateStaleConnectionCheckerin interfaceValidationType<T>- Returns:
- a new or existing instance of
ExtensionTypeinvalid input: '<'ValidationType>
-
removeStaleConnectionChecker
Removes thestale-connection-checkerelement- Specified by:
removeStaleConnectionCheckerin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-
getOrCreateExceptionSorter
If not already created, a newexception-sorterelement with the given value will be created. Otherwise, the existingexception-sorterelement will be returned.- Specified by:
getOrCreateExceptionSorterin interfaceValidationType<T>- Returns:
- a new or existing instance of
ExtensionTypeinvalid input: '<'ValidationType>
-
removeExceptionSorter
Removes theexception-sorterelement- Specified by:
removeExceptionSorterin interfaceValidationType<T>- Returns:
- the current instance of
ValidationType
-