|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.jdbc.dataaccess.SQLQueryProcessor
public class SQLQueryProcessor
The query processor to execute sql queries.
Field Summary | |
---|---|
protected javax.sql.DataSource |
dataSource
DataSource of the registry database. |
Constructor Summary | |
---|---|
SQLQueryProcessor(DataAccessManager dataAccessManager)
Initialize the sql query processor |
Method Summary | |
---|---|
Collection |
executeQuery(Registry registry,
Resource query,
java.util.Map parameters)
This method will be called when a query of a registered type is executed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.sql.DataSource dataSource
Constructor Detail |
---|
public SQLQueryProcessor(DataAccessManager dataAccessManager)
dataAccessManager
- the data access manager to be set.Method Detail |
---|
public Collection executeQuery(Registry registry, Resource query, java.util.Map parameters) throws RegistryException
QueryProcessor
executeQuery
in interface QueryProcessor
registry
- the registry to execute the queryquery
- query resource, possibly containing the query stringparameters
- query parameters as name->value pairs
RegistryException
- QueryProcessor impl should handle all exceptions and throw RegistryException if the
exception has to propagated to the client.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |