Class AbstractPolicySupport<A extends Annotation>
java.lang.Object
name.matthewgreet.strutscommons.policy.AbstractPolicySupport<A>
- All Implemented Interfaces:
Policy<A>
- Direct Known Subclasses:
AbstractAdjusterSupport
,AbstractValidatorSupport
public abstract class AbstractPolicySupport<A extends Annotation>
extends Object
implements Policy<A>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns annotation that configures this policy.void
setAnnotation
(A annotation) Sets annotation that configures this policy.
-
Constructor Details
-
AbstractPolicySupport
public AbstractPolicySupport()
-
-
Method Details
-
getAnnotation
Description copied from interface:Policy
Returns annotation that configures this policy.- Specified by:
getAnnotation
in interfacePolicy<A extends Annotation>
-
setAnnotation
Description copied from interface:Policy
Sets annotation that configures this policy.- Specified by:
setAnnotation
in interfacePolicy<A extends Annotation>
-