Class RunningObjectTable
- java.lang.Object
-
- com.sun.jna.platform.win32.COM.util.RunningObjectTable
-
- All Implemented Interfaces:
IRunningObjectTable
public class RunningObjectTable extends Object implements IRunningObjectTable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ObjectFactory
factory
(package private) RunningObjectTable
raw
-
Constructor Summary
Constructors Modifier Constructor Description protected
RunningObjectTable(RunningObjectTable raw, ObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<IDispatch>
enumRunning()
Creates and returns an enumerator of all the objects currently registered in the running object table (ROT).<T> List<T>
getActiveObjectsByInterface(Class<T> comInterface)
Gets all the active (running) objects that support the give interface.
-
-
-
Field Detail
-
factory
ObjectFactory factory
-
raw
RunningObjectTable raw
-
-
Constructor Detail
-
RunningObjectTable
protected RunningObjectTable(RunningObjectTable raw, ObjectFactory factory)
-
-
Method Detail
-
enumRunning
public Iterable<IDispatch> enumRunning()
Description copied from interface:IRunningObjectTable
Creates and returns an enumerator of all the objects currently registered in the running object table (ROT).- Specified by:
enumRunning
in interfaceIRunningObjectTable
-
getActiveObjectsByInterface
public <T> List<T> getActiveObjectsByInterface(Class<T> comInterface)
Description copied from interface:IRunningObjectTable
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.
- Specified by:
getActiveObjectsByInterface
in interfaceIRunningObjectTable
- Returns:
- active objects
-
-