|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elogico.xbound.jdbc.SQLManager com.elogico.xbound.jdbc.impl.SQLManagerImpl
public class SQLManagerImpl
This class is the default implementation for the abstract class SQLManager.
SQLManager
Field Summary |
---|
Fields inherited from class com.elogico.xbound.jdbc.SQLManager |
---|
connection |
Constructor Summary | |
---|---|
SQLManagerImpl()
|
Method Summary | |
---|---|
void |
executeQuery(Source query,
Result result)
|
protected ResultHandler |
getResultHandler(Result result)
Internal method for retrieving the handler configured for the given Result. |
protected SourceHandler |
getSourceHandler(Source result)
Internal method for retrieving the handler configured for the given Source. |
Methods inherited from class com.elogico.xbound.jdbc.SQLManager |
---|
getConnection, newInstance, setConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLManagerImpl()
Method Detail |
---|
protected ResultHandler getResultHandler(Result result) throws XBoundConfigurationError
Internal method for retrieving the handler configured for the given Result.
This implementation searches a public static property for the given object called HANDLER. The field should contain the fully qualified name of the class that handles the object.
The method tries to instantiate the class with the default constructor and returns the instance.
result
- the result object
XBoundConfigurationError
- if the field HANDLER is not valid,
not accessible or the class cannot be instantiatedprotected SourceHandler getSourceHandler(Source result) throws XBoundConfigurationError
Internal method for retrieving the handler configured for the given Source.
This implementation searches a public static property for the given object called HANDLER. The field should contain the fully qualified name of the class that handles the object.
The method tries to instantiate the class with the default constructor and returns the instance.
result
- the result object
XBoundConfigurationError
- if the field HANDLER is not valid,
not accessible or the class cannot be instantiatedpublic void executeQuery(Source query, Result result) throws java.sql.SQLException, XBoundException
executeQuery
in class SQLManager
java.sql.SQLException
XBoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |