|
|||||||||
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 | |
CIMObjectPath |
createInstance(CIMObjectPath op,
CIMInstance ci)
This method must be implemented by instance providers to create the instance specified in the object path. |
void |
deleteInstance(CIMObjectPath op)
This method must be implemented by instance providers to delete the instance specified in the object path. |
java.util.Vector |
enumInstances(CIMObjectPath op,
boolean deep,
CIMClass cc)
This method must be implemented by instance providers to enumerate all names of instances of the class which is specified in op. |
java.util.Vector |
enumInstances(CIMObjectPath op,
boolean deep,
CIMClass cc,
boolean localOnly)
This method must be implemented by instance providers to enumerate all instances of the class which is specified in op. |
java.util.Vector |
execQuery(CIMObjectPath op,
java.lang.String query,
int ql,
CIMClass cc)
This method must be implemented by instance providers to handle client queries for the dynamic data they provide. |
CIMInstance |
getInstance(CIMObjectPath op,
CIMClass cc,
boolean localOnly)
This method must be implemented by instance providers to retrieve the instance specified in the object path. |
void |
setInstance(CIMObjectPath op,
CIMInstance ci)
This method must be implemented by instance providers to set the instance specified in the object path. |
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 referencepublic 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.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.public CIMObjectPath createInstance(CIMObjectPath op, CIMInstance ci) throws CIMException
op
- The path of the instance to be set. The important part
in this parameter is the namespace component.ci
- The instance to be set.public void setInstance(CIMObjectPath op, CIMInstance ci) throws CIMException
op
- The path of the instance to be set. The important part
in this parameter is the namespace component.ci
- The instance to be set.public void deleteInstance(CIMObjectPath op) throws CIMException
ci
- The instance to be deleted.public java.util.Vector execQuery(CIMObjectPath op, java.lang.String query, int ql, CIMClass cc) throws CIMException
op
- The object name of the CIM Class to enumerate.query
- The CIM query expression.ql
- The CIM query.cc
- The CIM class reference.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |