javax.wbem.provider
Interface CIMProvider

All Known Subinterfaces:
AssociatorProvider, CIMIndicationProvider, CIMInstanceProvider, CIMMethodProvider

public interface CIMProvider

This is the base interface implemented by all providers.

Since:
WBEM 1.0

Method Summary
 void cleanup()
          Called by the CIMOM when the provider is removed.
 void initialize(CIMOMHandle ch)
          Called by the CIMOM when the provider is loaded.
 

Method Detail

initialize

public void initialize(CIMOMHandle ch)
                throws CIMException
Called by the CIMOM when the provider is loaded. This method will be called only once; i.e. cleanup() must be called before initialize() is called again.

Throws:
CIMException - If unsuccessful, one of the following status codes may be returned. The ORDERED list is:
 
   CIM_ERR_FAILED (some other unspecified error occurred)
 

cleanup

public void cleanup()
             throws CIMException
Called by the CIMOM when the provider is removed. Currently the CIMOM does not remove providers, but this method is provided for future versions.

Throws:
CIMException - If unsuccessful, one of the following status codes may be returned. The ORDERED list is:
 
   CIM_ERR_FAILED (some other unspecified error occurred)