Class RecoverTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.datasources11.impl.RecoverTypeImpl<T>
- All Implemented Interfaces:
RecoverType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class RecoverTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, RecoverType<T>
This class implements the
recoverType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionRecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionIf not already created, a newrecover-credentialelement with the given value will be created.If not already created, a newrecover-pluginelement with the given value will be created.Returns theno-recoveryattributenoRecovery(Boolean noRecovery) Sets theno-recoveryattributeRemoves theno-recoveryattributeRemoves therecover-credentialelementRemoves therecover-pluginelementup()
-
Constructor Details
-
RecoverTypeImpl
-
RecoverTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
getOrCreateRecoverCredential
If not already created, a newrecover-credentialelement with the given value will be created. Otherwise, the existingrecover-credentialelement will be returned.- Specified by:
getOrCreateRecoverCredentialin interfaceRecoverType<T>- Returns:
- a new or existing instance of
DsSecurityType<RecoverType>
-
removeRecoverCredential
Removes therecover-credentialelement- Specified by:
removeRecoverCredentialin interfaceRecoverType<T>- Returns:
- the current instance of
RecoverType
-
getOrCreateRecoverPlugin
If not already created, a newrecover-pluginelement with the given value will be created. Otherwise, the existingrecover-pluginelement will be returned.- Specified by:
getOrCreateRecoverPluginin interfaceRecoverType<T>- Returns:
- a new or existing instance of
ExtensionType<RecoverType>
-
removeRecoverPlugin
Removes therecover-pluginelement- Specified by:
removeRecoverPluginin interfaceRecoverType<T>- Returns:
- the current instance of
RecoverType
-
noRecovery
Sets theno-recoveryattribute- Specified by:
noRecoveryin interfaceRecoverType<T>- Parameters:
noRecovery- the value for the attributeno-recovery- Returns:
- the current instance of
RecoverType
-
isNoRecovery
Returns theno-recoveryattribute- Specified by:
isNoRecoveryin interfaceRecoverType<T>- Returns:
- the value defined for the attribute
no-recovery
-
removeNoRecovery
Removes theno-recoveryattribute- Specified by:
removeNoRecoveryin interfaceRecoverType<T>- Returns:
- the current instance of
RecoverType
-