IRunningObjectTable (JNA API)

com.sun.jna.platform.win32.COM.util

## Interface IRunningObjectTable

- All Known Implementing Classes:
    RunningObjectTable

      public interface IRunningObjectTable

  Java friendly version of `IRunningObjectTable`

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### enumRunning

          java.lang.Iterable<IDispatch> enumRunning()

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

    - #### getActiveObjectsByInterface

          <T> java.util.List<T> getActiveObjectsByInterface(java.lang.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.
      Parameters:
        `comInterface` -
      Returns:
        active objects

Copyright © 2007-2016 Timothy Wall. All Rights Reserved.