OW_NAMESPACE::ProviderEnvironmentIFC Class Reference

Note that some derived classes do not carry their own OperationContext, instead carrying only a reference to one. More...

#include <OW_ProviderEnvironmentIFC.hpp>

Inheritance diagram for OW_NAMESPACE::ProviderEnvironmentIFC:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::ProviderEnvironmentIFC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~ProviderEnvironmentIFC ()
virtual CIMOMHandleIFCRef getCIMOMHandle () const =0
 This function returns a regular cimom handle that does access checking and may call providers.
virtual CIMOMHandleIFCRef getRepositoryCIMOMHandle () const =0
 This function returns a cimom handle that directly accesses the repository (CIMServer is bypassed).
virtual RepositoryIFCRef getRepository () const =0
 This function returns a reference to the repository.
virtual LoggerRef getLogger () const OW_DEPRECATED=0
virtual LoggerRef getLogger (const String &componentName) const =0
virtual String getConfigItem (const String &name, const String &defRetVal="") const =0
virtual StringArray getMultiConfigItem (const String &itemName, const StringArray &defRetVal, const char *tokenizeSeparator=0) const =0
virtual String getUserName () const =0
virtual OperationContextgetOperationContext ()=0
virtual ProviderEnvironmentIFCRef clone () const =0
 When a provider is passed a ProviderEnvironmentIFCRef, the particular instance is only valid for the lifetime of the particular call.

Detailed Description

Note that some derived classes do not carry their own OperationContext, instead carrying only a reference to one.

In such a case, the ProviderEnvironmentIFC object is valid only for the lifetime of the referenced OperationContext.

Definition at line 55 of file OW_ProviderEnvironmentIFC.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::ProviderEnvironmentIFC::~ProviderEnvironmentIFC  )  [virtual]
 

Definition at line 42 of file OW_ProviderEnvironmentIFC.cpp.


Member Function Documentation

virtual ProviderEnvironmentIFCRef OW_NAMESPACE::ProviderEnvironmentIFC::clone  )  const [pure virtual]
 

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.

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual CIMOMHandleIFCRef OW_NAMESPACE::ProviderEnvironmentIFC::getCIMOMHandle  )  const [pure virtual]
 

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).

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual String OW_NAMESPACE::ProviderEnvironmentIFC::getConfigItem const String name,
const String defRetVal = ""
const [pure virtual]
 

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual LoggerRef OW_NAMESPACE::ProviderEnvironmentIFC::getLogger const String componentName  )  const [pure virtual]
 

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual LoggerRef OW_NAMESPACE::ProviderEnvironmentIFC::getLogger  )  const [pure virtual]
 

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual StringArray OW_NAMESPACE::ProviderEnvironmentIFC::getMultiConfigItem const String itemName,
const StringArray defRetVal,
const char *  tokenizeSeparator = 0
const [pure virtual]
 

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual OperationContext& OW_NAMESPACE::ProviderEnvironmentIFC::getOperationContext  )  [pure virtual]
 

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual RepositoryIFCRef OW_NAMESPACE::ProviderEnvironmentIFC::getRepository  )  const [pure virtual]
 

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).

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual CIMOMHandleIFCRef OW_NAMESPACE::ProviderEnvironmentIFC::getRepositoryCIMOMHandle  )  const [pure virtual]
 

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).

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.

virtual String OW_NAMESPACE::ProviderEnvironmentIFC::getUserName  )  const [pure virtual]
 

Implemented in OW_NAMESPACE::ProviderAgentProviderEnvironment.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:15:28 2006 for openwbem by  doxygen 1.4.6