Package org.sqlproc.engine.validation
Interface SqlValidatorFactory
-
public interface SqlValidatorFactory
The factory definition, which can be used to construct theSqlValidator
instances.The factory can be based on Spring DI framework for example. Another approch is the next one (for the sample validator described at
SqlValidator
.SqlValidatorFactory validatorFactory = new SampleValidator.SampleValidatorFactory(); SqlEngineFactory factory = ... SqlCrudEngine sqlEngine = factory.getCrudEngine(name); sqlEngine.setValidator(validatorFactory.getSqlValidator());
For more information please see
SqlValidator
.- Author:
- Vladimir Hudec
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlValidator
getSqlValidator()
The main contract of this factory.
-
-
-
Method Detail
-
getSqlValidator
SqlValidator getSqlValidator()
The main contract of this factory.- Returns:
- the instance of the SqlValidator
-
-