|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the base interface implemented by instance providers. Instance providers are used to serve up dynamic instances of classes.
| Method Summary | |
void |
createInstance(CIMInstance ci)
Deprecated. New APIs in the provider20 package. |
void |
deleteInstance(CIMObjectPath op)
Deprecated. New APIs in the provider20 package. |
java.util.Vector |
enumInstances(CIMObjectPath op,
boolean deep,
CIMClass cc)
Deprecated. New APIs in the provider20 package. |
java.util.Vector |
enumInstances(CIMObjectPath op,
boolean deep,
CIMClass cc,
boolean localOnly)
Deprecated. New APIs in the provider20 package. |
CIMInstance |
getInstance(CIMObjectPath op,
CIMClass cc,
boolean localOnly)
Deprecated. New APIs in the provider20 package. |
void |
setInstance(CIMInstance ci)
Deprecated. New APIs in the provider20 package. |
| Methods inherited from interface com.sun.wbem.provider.CIMProvider |
cleanup,
initialize |
| Method Detail |
public java.util.Vector enumInstances(CIMObjectPath op,
boolean deep,
CIMClass cc)
throws CIMException
op - The object path specifies the class that must be enumerated.deep - If true, deep enumeration must be done, otherwise shallow.cc, - the class referenceInstanceProvider
public java.util.Vector enumInstances(CIMObjectPath op,
boolean deep,
CIMClass cc,
boolean localOnly)
throws CIMException
op - The object path specifies the class that must be enumerated.deep - If true, deep enumeration must be done, otherwise shallow.cc, - the class referencelocalOnly - If true, only the non-inherited properties are to
be returned, otherwise all properties are required.InstanceProvider
public CIMInstance getInstance(CIMObjectPath op,
CIMClass cc,
boolean localOnly)
throws CIMException
op - The name of the instance to be retrieved.cc - The Class to which the instance belongs. This is useful
for providers which do not want to create instances from
scratch. They can call the class newInstance() routine
to create a template for the new instance.localOnly - If true, only the non-inherited properties are to
be returned, otherwise all properties are required.InstanceProvider
public void createInstance(CIMInstance ci)
throws CIMException
ci - The instance to be set.InstanceProvider
public void setInstance(CIMInstance ci)
throws CIMException
ci - The instance to be set.InstanceProvider
public void deleteInstance(CIMObjectPath op)
throws CIMException
ci - The instance to be deleted.InstanceProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||