|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={})
@Retention(value=RUNTIME)
@Documented
public @interface SpringLookupUse this supportive annotation inside @Lookup to specify you wish to use the SpringLookup to find a class to do validation with (or anything else, depending on the situation where it is used exactly).
Lookup| Required Element Summary | |
|---|---|
JvMethod |
method
The method to perform on the bean found (by name). |
| Optional Element Summary | |
|---|---|
java.lang.String |
name
Specify bean name to lookup in the spring context. |
| Element Detail |
|---|
public abstract JvMethod method
In other cases such as uses with @LovConstraint you should adhere to rules described there.
The parameters how and what is really up to you, however it makes most sense to pass along the current instance to be validated and the current validation path. In @JvParam (specification of a parameter) you can use MODE_CURRENT_OBJECT for the current instance, MODE_CURRENT_PATH for the current validation path.
Defaults to nothing.
JvParampublic abstract java.lang.String name
Defaults to an empty string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||