|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JavalidExtension
Any extension must implement this interface. It's not necessary to implement all methods, it all depends on the needs of the extension. Please read the method's documentation how it is used.
| Method Summary | |
|---|---|
void |
afterValidation(JvConfigurationWrapper wrapper)
Once validation is done, this method is called and allows an extension to perform cleanup (if necessary). |
void |
beforeValidation(JvConfigurationWrapper wrapper)
Before a the validation starts this methid is called, it can do some initialization or other things that might be needed. |
void |
configurationLoadingComplete(JvConfigurationWrapper wrapper)
This method is called by the configuration loader as soon as it is done loading everything needed. |
void |
destroy()
Called once the the AnnotationValidator's destroy() method has been called. |
void |
init(java.util.Map<java.lang.String,java.lang.String> parameters,
JvConfigurationWrapper wrapper)
This method is called only once, as soon as the extension is created (after its constructor has been called) and provides you with the parameters you might have passed to this extension. |
| Method Detail |
|---|
void init(java.util.Map<java.lang.String,java.lang.String> parameters,
JvConfigurationWrapper wrapper)
parameters - Map with parameters passed to this extension (keys are the name).wrapper - The config wrappervoid configurationLoadingComplete(JvConfigurationWrapper wrapper)
If you need parameters from the config file, save them in the init() method, which is called on creation of this extension.
wrapper - The config wrappervoid beforeValidation(JvConfigurationWrapper wrapper)
wrapper - The config wrappervoid afterValidation(JvConfigurationWrapper wrapper)
wrapper - The config wrappervoid destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||