Package org.sqlproc.engine.validation
Interface SqlValidatorFactory
-
public interface SqlValidatorFactoryThe factory definition, which can be used to construct theSqlValidatorinstances.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 SqlValidatorgetSqlValidator()The main contract of this factory.
-
-
-
Method Detail
-
getSqlValidator
SqlValidator getSqlValidator()
The main contract of this factory.- Returns:
- the instance of the SqlValidator
-
-