Class Recovery
- java.lang.Object
-
- org.jboss.jca.common.api.metadata.common.Recovery
-
- All Implemented Interfaces:
Serializable,JCAMetadata,ValidatableMetadata
public class Recovery extends Object implements JCAMetadata, ValidatableMetadata
A Recovery.- Author:
- Stefano Maestri
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecovery.AttributeA Attribute.static classRecovery.TagA Tag.
-
Constructor Summary
Constructors Constructor Description Recovery(Credential credential, Extension recoverPlugin, Boolean noRecovery)Create a new Recovery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CredentialgetCredential()Get the security.BooleangetNoRecovery()Get the noRecovery.ExtensiongetRecoverPlugin()Get the plugin.inthashCode()StringtoString()voidvalidate()Validate this metadata according validation required by specification
-
-
-
Constructor Detail
-
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 Detail
-
getCredential
public final Credential getCredential()
Get the security.- Returns:
- the security.
-
getRecoverPlugin
public final Extension getRecoverPlugin()
Get the plugin.- Returns:
- the plugin.
-
getNoRecovery
public final Boolean getNoRecovery()
Get the noRecovery.- Returns:
- the noRecovery.
-
validate
public void validate() throws ValidateExceptionDescription copied from interface:ValidatableMetadataValidate this metadata according validation required by specification- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException- in case of validation fail
-
-