javax.wbem.provider
Interface Provider

All Known Subinterfaces:
AssociatorProvider, IndicationProvider, InstanceProvider, MethodProvider, PullAssociatorProvider, PullInstanceProvider

public interface Provider

This interface must be implemented by all providers.

Since:
JSR48 1.0.0

Method Summary
 void close()
          Called by the Provider Object Manager Adapter when the provider is unloaded.
 void initialize(ProviderHandle handle)
          Called by the Provider Object Manager Adapter when the provider is loaded.
 

Method Detail

close

void close()
           throws WBEMException
Called by the Provider Object Manager Adapter when the provider is unloaded.

Throws:
WBEMException

initialize

void initialize(ProviderHandle handle)
                throws WBEMException
Called by the Provider Object Manager Adapter when the provider is loaded. This method will be called only once; i.e. close() must be called before initialize() is called again.

Parameters:
handle - a handle that can be used to perform operations
Throws:
WBEMException - If unsuccessful, one of the following status codes may be returned. The ORDERED list is:
  • CIM_ERR_FAILED (some other unspecified error occurred)


Copyright © 2002-2008 WBEM Solutions, Inc. All Rights Reserved.