#include <OW_ProviderAgentProviderEnvironment.hpp>
Inheritance diagram for OW_NAMESPACE::ProviderAgentProviderEnvironment:
Public Member Functions | |
ProviderAgentProviderEnvironment (const LoggerRef &logger, const ConfigFile::ConfigMap &configMap, OperationContext &operationContext, const String &callbackURL, ClientCIMOMHandleConnectionPool &pool, ProviderAgentEnvironment::EConnectionCredentialsUsageFlag useConnectionCredentials) | |
~ProviderAgentProviderEnvironment () | |
virtual CIMOMHandleIFCRef | getCIMOMHandle () const |
This function returns a regular cimom handle that does access checking and may call providers. | |
virtual String | getConfigItem (const String &name, const String &defRetVal="") const |
virtual StringArray | getMultiConfigItem (const String &itemName, const StringArray &defRetVal, const char *tokenizeSeparator=0) const |
virtual CIMOMHandleIFCRef | getRepositoryCIMOMHandle () const |
This function returns a cimom handle that directly accesses the repository (CIMServer is bypassed). | |
virtual RepositoryIFCRef | getRepository () const |
This function returns a reference to the repository. | |
virtual LoggerRef | getLogger () const |
virtual LoggerRef | getLogger (const String &componentName) const |
virtual String | getUserName () const |
virtual OperationContext & | getOperationContext () |
virtual ProviderEnvironmentIFCRef | clone () const |
When a provider is passed a ProviderEnvironmentIFCRef, the particular instance is only valid for the lifetime of the particular call. | |
Private Attributes | |
LoggerRef | m_logger |
ConfigFile::ConfigMap | m_configMap |
OperationContext & | m_operationContext |
String | m_callbackURL |
ClientCIMOMHandleConnectionPool & | m_connectionPool |
Array< ClientCIMOMHandleRef > | m_CIMOMHandleRA |
ProviderAgentEnvironment::EConnectionCredentialsUsageFlag | m_useConnectionCredentials |
Definition at line 52 of file OW_ProviderAgentProviderEnvironment.hpp.
|
Definition at line 49 of file OW_ProviderAgentProviderEnvironment.cpp. |
|
Definition at line 66 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_NAMESPACE::ClientCIMOMHandleConnectionPool::addConnectionToPool(), OW_NAMESPACE::Array< T >::begin(), OW_NAMESPACE::Array< T >::end(), m_callbackURL, m_CIMOMHandleRA, and m_connectionPool. |
|
When a provider is passed a ProviderEnvironmentIFCRef, the particular instance is only valid for the lifetime of the particular call. If a provider needs to save a ProviderEnvironmentIFCRef for later use (e.g. in another thread), it must call clone() on the original ProviderEnvironmentIFC and save the result for later use. Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 179 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_ASSERTMSG. |
|
This function returns a regular cimom handle that does access checking and may call providers. WARNING: The return value is valid only as long as this object is valid (see class note). Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 78 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_NAMESPACE::String::empty(), and m_callbackURL. |
|
Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 117 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_NAMESPACE::ConfigFile::getConfigItem(), m_configMap, and name. |
|
Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 157 of file OW_ProviderAgentProviderEnvironment.cpp. References m_logger. |
|
Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 151 of file OW_ProviderAgentProviderEnvironment.cpp. References m_logger. |
|
Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 124 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_NAMESPACE::ConfigFile::getMultiConfigItem(), and m_configMap. |
|
Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 172 of file OW_ProviderAgentProviderEnvironment.cpp. References m_operationContext. |
|
This function returns a reference to the repository. This function should only be called if getCIMOMHandle() and getRepositoryCIMOMHandle() are insufficient. WARNING: The return value is valid only as long as this object is valid (see class note). Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 144 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_ASSERTMSG. |
|
This function returns a cimom handle that directly accesses the repository (CIMServer is bypassed). No providers will be called. This function should only be called if getCIMOMHandle() is insufficent. WARNING: The return value is valid only as long as this object is valid (see class note). Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 135 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_ASSERTMSG. |
|
Implements OW_NAMESPACE::ProviderEnvironmentIFC. Definition at line 165 of file OW_ProviderAgentProviderEnvironment.cpp. References OW_ASSERTMSG. |
|
Definition at line 85 of file OW_ProviderAgentProviderEnvironment.hpp. Referenced by getCIMOMHandle(), and ~ProviderAgentProviderEnvironment(). |
|
Definition at line 87 of file OW_ProviderAgentProviderEnvironment.hpp. Referenced by ~ProviderAgentProviderEnvironment(). |
|
Definition at line 83 of file OW_ProviderAgentProviderEnvironment.hpp. Referenced by getConfigItem(), and getMultiConfigItem(). |
|
Definition at line 86 of file OW_ProviderAgentProviderEnvironment.hpp. Referenced by ~ProviderAgentProviderEnvironment(). |
|
Definition at line 82 of file OW_ProviderAgentProviderEnvironment.hpp. Referenced by getLogger(). |
|
Definition at line 84 of file OW_ProviderAgentProviderEnvironment.hpp. Referenced by getOperationContext(). |
|
Definition at line 88 of file OW_ProviderAgentProviderEnvironment.hpp. |