version 1.4, 2006/01/30 16:18:31
|
version 1.5, 2006/11/14 18:34:59
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Adrian Schuur (schuur@de.ibm.com) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_QuerySupportRouter_h | #ifndef Pegasus_QuerySupportRouter_h |
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
/* |
/** |
This class is the basis for encapsulating Query support such that | This class is the basis for encapsulating Query support such that |
CIMOperationRequestDispatcher.cpp is not to be changed for adding | CIMOperationRequestDispatcher.cpp is not to be changed for adding |
new/additional types of query support. | new/additional types of query support. |
| |
New types of query support (like CQL) need to subclass | New types of query support (like CQL) need to subclass |
CIMOperationRequestDispatcher as can be seen in WQLCIMOperatioRequestDispatcher. |
CIMOperationRequestDispatcher as can be seen in |
|
WQLCIMOperatioRequestDispatcher. |
| |
Also, QuerySupportRouter.cpp must be extended to recognize the | Also, QuerySupportRouter.cpp must be extended to recognize the |
CQL query language identifier and route the requests to the | CQL query language identifier and route the requests to the |
|
|
| |
In addition, ProviderManager2/QueryExpressionFactory.h has to be | In addition, ProviderManager2/QueryExpressionFactory.h has to be |
extended similarly. | extended similarly. |
|
|
*/ | */ |
|
class QuerySupportRouter |
class QuerySupportRouter { |
{ |
public: | public: |
static Boolean routeHandleExecQueryRequest( | static Boolean routeHandleExecQueryRequest( |
CIMOperationRequestDispatcher* opThis, | CIMOperationRequestDispatcher* opThis, |