public class RunningObjectTable extends java.lang.Object implements IRunningObjectTable
| Modifier and Type | Field and Description |
|---|---|
(package private) ObjectFactory |
factory |
(package private) RunningObjectTable |
raw |
| Modifier | Constructor and Description |
|---|---|
protected |
RunningObjectTable(RunningObjectTable raw,
ObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<IDispatch> |
enumRunning()
Creates and returns an enumerator of all the objects currently registered
in the running object table (ROT).
|
<T> java.util.List<T> |
getActiveObjectsByInterface(java.lang.Class<T> comInterface)
Gets all the active (running) objects that support the give interface.
|
ObjectFactory factory
RunningObjectTable raw
protected RunningObjectTable(RunningObjectTable raw, ObjectFactory factory)
public java.lang.Iterable<IDispatch> enumRunning()
IRunningObjectTableenumRunning in interface IRunningObjectTablepublic <T> java.util.List<T> getActiveObjectsByInterface(java.lang.Class<T> comInterface)
IRunningObjectTableEnumerates the running objects (via enumRunning), and returns a list of those for which queryInterface(iid) gives a valid result.
getActiveObjectsByInterface in interface IRunningObjectTable