Top Description Methods
com.sun.jna.platform.win32.COM.util

public Interface IRunningObjectTable

Known Direct Implementers
com.sun.jna.platform.win32.COM.util.RunningObjectTable
Imports
java.util.List

Java friendly version of com.sun.jna.platform.win32.COM.IRunningObjectTable

Method Summary

Modifier and TypeMethod and Description
public Iterable<IDispatch>
enumRunning()

Creates and returns an enumerator of all the objects currently registered in the running object table (ROT).

public <T> List<T>

Returns:

active objects
getActiveObjectsByInterface
(Class<T> comInterface)

Gets all the active (running) objects that support the give interface.

Method Detail

enumRunningback to summary
public Iterable<IDispatch> enumRunning()

Creates and returns an enumerator of all the objects currently registered in the running object table (ROT).

getActiveObjectsByInterfaceback to summary
public <T> List<T> getActiveObjectsByInterface(Class<T> comInterface)

Gets all the active (running) objects that support the give interface.

Enumerates the running objects (via enumRunning), and returns a list of those for which queryInterface(iid) gives a valid result.

Returns:List<T>

active objects