|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SWbemServices
| Nested Class Summary | |
|---|---|
static class |
SWbemServices.Implementation
|
| Field Summary |
|---|
| Fields inherited from interface org.jinterop.dcom.impls.automation.IJIDispatch |
|---|
DISPATCH_DISPID_PUTPUTREF, DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, IID |
| Method Summary | |
|---|---|
SWbemObject |
Get(String objectPath)
|
SWbemObject |
Get(String objectPath,
int flags,
Object objWbemNamedValueSet)
Gets a particular object/class. |
SWbemObject |
GetOrNull(String objectPath)
A variation of Get(String) that returns null
if the object doesn't exist, instead of throwing an exception. |
Win32Service |
getService(String serviceName)
Gets the Win32Service of the given name, or null. |
SWbemObjectSet |
InstancesOf(String clazz)
|
SWbemObjectSet |
InstancesOf(String clazz,
int flags,
Object unused)
|
| Methods inherited from interface org.kohsuke.jinterop.JIProxy |
|---|
cast |
| Methods inherited from interface org.jinterop.dcom.impls.automation.IJIDispatch |
|---|
callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodA, callMethodA, callMethodA, callMethodA, callMethodA, callMethodA, callMethodA, get, get, get, get, getIDsOfNames, getIDsOfNames, getLastExcepInfo, getTypeInfo, getTypeInfoCount, put, put, put, put, putRef, putRef, putRef, putRef |
| Methods inherited from interface org.jinterop.dcom.core.IJIComObject |
|---|
addRef, call, call, getAssociatedSession, getInstanceLevelSocketTimeout, getInterfaceIdentifier, getIpid, getUnreferencedHandler, internal_getConnectionInfo, internal_getInterfacePointer, internal_removeConnectionInfo, internal_setConnectionInfo, internal_setDeffered, isDispatchSupported, isLocalReference, queryInterface, registerUnreferencedHandler, release, setInstanceLevelSocketTimeout, unregisterUnreferencedHandler |
| Method Detail |
|---|
SWbemObjectSet InstancesOf(String clazz,
int flags,
Object unused)
throws org.jinterop.dcom.common.JIException
org.jinterop.dcom.common.JIException
SWbemObjectSet InstancesOf(String clazz)
throws org.jinterop.dcom.common.JIException
org.jinterop.dcom.common.JIException
SWbemObject Get(String objectPath,
int flags,
Object objWbemNamedValueSet)
throws org.jinterop.dcom.common.JIException
objectPath - If a class name like "Win32_Service" is specified, you get the class object
(from which you can invoke class methods.)
This parameter also supports the path notation (although I haven't found
the authoritative documentation of the syntax.) Examples I've seen
includes "Win32_Service.Name=\"foo\""
org.jinterop.dcom.common.JIException
SWbemObject Get(String objectPath)
throws org.jinterop.dcom.common.JIException
org.jinterop.dcom.common.JIException
SWbemObject GetOrNull(String objectPath)
throws org.jinterop.dcom.common.JIException
Get(String) that returns null
if the object doesn't exist, instead of throwing an exception.
org.jinterop.dcom.common.JIException
Win32Service getService(String serviceName)
throws org.jinterop.dcom.common.JIException
Win32Service of the given name, or null.
org.jinterop.dcom.common.JIException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||