|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JavalidExtensionLookup
This extension interface is required by extensions that support some kind of lookup and/or validation. Generally its only used by extensions that ship with JaValid. Likely you don't need this interface at all but its parent instead.
| Method Summary | |
|---|---|
java.lang.Object |
lookupBean(java.lang.String name)
Based on given name attempts to lookup a bean. |
java.util.List<ValidationMessage> |
validate(java.lang.Object currentInstance,
java.lang.String prefixPath,
java.lang.String beanNameExpression,
JvMethod jvMethod)
This method is called by the JV framework if an object to validate has defined a lookup and thus must be validated through a bean. |
| Methods inherited from interface org.javalid.core.extension.JavalidExtension |
|---|
afterValidation, beforeValidation, configurationLoadingComplete, destroy, init |
| Method Detail |
|---|
java.lang.Object lookupBean(java.lang.String name)
name - The name to lookup
java.util.List<ValidationMessage> validate(java.lang.Object currentInstance,
java.lang.String prefixPath,
java.lang.String beanNameExpression,
JvMethod jvMethod)
currentInstance - The current instance for validationprefixPath - The prefix path for this instancebeanNameExpression - The name of the spring bean to usejvMethod - The method containing the actual call to be performed on the bean with ALL needed parameters.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||