|
Implementations of the actual constraint code should must not synchronize or in any other way block threads. Concurrent access of the evaluation method is expected, but will always occur after initialization has completed.
Attention to performance is crucial for all implementations as instances of this class are heavily used.
The constraint implementations can provide standard setter methods that will be populated by bean setter injection. Once all the available properties have been set, the contraint will be initialized.
Method Summary | ||
void |
evaluate(Object value) Evaluates a property value according to the implementation and initialization parameters provided. |
|
getParameters() Returns the parameters passed to the instance of the constraint. |
||
getShortName() Gets the constraint name. |
||
getTitle() | ||
getType() Returns the 'type' of the constraint, this is the identifier given to constraint in the configuration. |
||
void |
initialize() Initializes the constraint with appropriate values, which will depend on the implementation itself. |
|