org.sqlproc.engine
Interface SqlEngineFactory

All Known Implementing Classes:
JdbcEngineFactory, SqlProcessorLoader, SqlSimpleFactory

public interface SqlEngineFactory

The factory definition, which can be used to construct the SqlEngine instances.

The factory can be based on Spring DI framework for example.

For more info please see the Tutorials.

Author:
Vladimir Hudec

Method Summary
 SqlCrudEngine getCheckedCrudEngine(String name)
          Returns the named SQL CRUD Engine instance (the primary SQL Processor class).
 SqlProcedureEngine getCheckedProcedureEngine(String name)
          Returns the named SQL Procedure Engine instance (the primary SQL Processor class).
 SqlQueryEngine getCheckedQueryEngine(String name)
          Returns the named SQL Query Engine instance (the primary SQL Processor class).
 SqlCrudEngine getCrudEngine(String name)
          Returns the named SQL CRUD Engine instance (the primary SQL Processor class).
 SqlProcedureEngine getProcedureEngine(String name)
          Returns the named SQL Procedure Engine instance (the primary SQL Processor class).
 SqlQueryEngine getQueryEngine(String name)
          Returns the named SQL Query Engine instance (the primary SQL Processor class).
 

Method Detail

getQueryEngine

SqlQueryEngine getQueryEngine(String name)
Returns the named SQL Query Engine instance (the primary SQL Processor class).

Parameters:
name - the name of the required SQL Query Engine instance
Returns:
the SQL Engine instance or null value in the case the related statement is missing

getCrudEngine

SqlCrudEngine getCrudEngine(String name)
Returns the named SQL CRUD Engine instance (the primary SQL Processor class).

Parameters:
name - the name of the required SQL CRUD Engine instance
Returns:
the SQL Engine instance or null value in the case the related statement is missing

getProcedureEngine

SqlProcedureEngine getProcedureEngine(String name)
Returns the named SQL Procedure Engine instance (the primary SQL Processor class).

Parameters:
name - the name of the required SQL Procedure Engine instance
Returns:
the SQL Engine instance or null value in the case the related statement is missing

getCheckedQueryEngine

SqlQueryEngine getCheckedQueryEngine(String name)
                                     throws SqlEngineException
Returns the named SQL Query Engine instance (the primary SQL Processor class).

Parameters:
name - the name of the required SQL Query Engine instance
Returns:
the SQL Engine instance
Throws:
SqlEngineException - in the case the related statement is missing

getCheckedCrudEngine

SqlCrudEngine getCheckedCrudEngine(String name)
Returns the named SQL CRUD Engine instance (the primary SQL Processor class).

Parameters:
name - the name of the required SQL CRUD Engine instance
Returns:
the SQL Engine instance
Throws:
SqlEngineException - in the case the related statement is missing

getCheckedProcedureEngine

SqlProcedureEngine getCheckedProcedureEngine(String name)
Returns the named SQL Procedure Engine instance (the primary SQL Processor class).

Parameters:
name - the name of the required SQL Procedure Engine instance
Returns:
the SQL Engine instance
Throws:
SqlEngineException - in the case the related statement is missing


Copyright © 2013. All Rights Reserved.