Class Recovery
java.lang.Object
org.jboss.jca.common.api.metadata.common.Recovery
- All Implemented Interfaces:
Serializable,JCAMetadata,ValidatableMetadata
A Recovery.
- Author:
- Stefano Maestri
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumA Attribute.static enumA Tag. -
Constructor Summary
ConstructorsConstructorDescriptionRecovery(Credential credential, Extension recoverPlugin, Boolean noRecovery) Create a new Recovery. -
Method Summary
-
Constructor Details
-
Recovery
public Recovery(Credential credential, Extension recoverPlugin, Boolean noRecovery) throws ValidateException Create a new Recovery.- Parameters:
credential- credentialrecoverPlugin- pluginnoRecovery- niRecovery- Throws:
ValidateException- in case of not valid metadata creation
-
-
Method Details
-
getCredential
Get the security.- Returns:
- the security.
-
getRecoverPlugin
Get the plugin.- Returns:
- the plugin.
-
getNoRecovery
Get the noRecovery.- Returns:
- the noRecovery.
-
validate
Description copied from interface:ValidatableMetadataValidate this metadata according validation required by specification- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException- in case of validation fail
-
hashCode
public int hashCode() -
equals
-
toString
-