#include <OW_WQLImpl.hpp>
Inheritance diagram for OW_NAMESPACE::WQLImpl:
Public Member Functions | |
virtual | ~WQLImpl () |
String | getName () const |
Every service may have a name. | |
virtual void | init (const ServiceEnvironmentIFCRef &env) |
init() will be called to give the derived class an opportunity to initialize itself. | |
virtual void | shutdown () |
The service must shutdown completely before returning from this function. | |
virtual void | evaluate (const String &nameSpace, CIMInstanceResultHandlerIFC &result, const String &query, const String &queryLanguage, const CIMOMHandleIFCRef &hdl) |
virtual WQLSelectStatement | createSelectStatement (const String &query) |
virtual bool | supportsQueryLanguage (const String &lang) |
Static Public Member Functions | |
static stmt * | setStatement (stmt *statement) |
static const char * | getParserInput () |
Static Private Attributes | |
static Mutex | s_classLock |
static const char * | s_parserInput = 0 |
static stmt * | s_statement = 0 |
Definition at line 49 of file OW_WQLImpl.hpp.
|
Definition at line 52 of file OW_WQLImpl.cpp. |
|
Implements OW_NAMESPACE::WQLIFC. Definition at line 107 of file OW_WQLImpl.cpp. References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::AutoPtr< X >::get(), OW_NAMESPACE::CIMException::INVALID_QUERY, OW_THROWCIMMSG, owwqldebug, owwqlparse(), OW_NAMESPACE::MutexLock::release(), s_classLock, s_parserInput, s_statement, and WQLscanner_init(). |
|
Implements OW_NAMESPACE::WQLIFC. Definition at line 62 of file OW_WQLImpl.cpp. References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::AutoPtr< X >::get(), hdl, OW_NAMESPACE::CIMException::INVALID_QUERY, OW_THROWCIMMSG, owwqldebug, owwqlparse(), OW_NAMESPACE::MutexLock::release(), s_classLock, s_parserInput, s_statement, and WQLscanner_init(). |
|
Every service may have a name. The name is used to calculate dependencies, other services can return the name from getDependencies(), to instruct the cimom about which order to start and shutdown all the services. The default is to have no name, in that case, no other service can depend on it. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 57 of file OW_WQLImpl.cpp. References OW_NAMESPACE::ServiceIFCNames::WQL. |
|
Definition at line 71 of file OW_WQLImpl.hpp. |
|
init() will be called to give the derived class an opportunity to initialize itself. Do not create threads which interact with the environment until start() is called. During the loading/initializing phase, the environment is single-threaded.
Implements OW_NAMESPACE::ServiceIFC. Definition at line 163 of file OW_WQLImpl.cpp. |
|
Definition at line 65 of file OW_WQLImpl.hpp. |
|
The service must shutdown completely before returning from this function. All copies of the service environment or objects obtained from it should be set to 0 to avoid circular reference counts. Implements OW_NAMESPACE::ServiceIFC. Definition at line 169 of file OW_WQLImpl.cpp. |
|
Implements OW_NAMESPACE::WQLIFC. Definition at line 141 of file OW_WQLImpl.cpp. References OW_NAMESPACE::String::equalsIgnoreCase(). |
|
Definition at line 76 of file OW_WQLImpl.hpp. Referenced by createSelectStatement(), and evaluate(). |
|
Definition at line 77 of file OW_WQLImpl.hpp. Referenced by createSelectStatement(), and evaluate(). |
|
Definition at line 78 of file OW_WQLImpl.hpp. Referenced by createSelectStatement(), and evaluate(). |