Class RunningObjectTable

  • java.lang.Object
    • com.sun.jna.platform.win32.COM.util.RunningObjectTable
    • Method Detail

      • enumRunning

        public java.lang.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 interface IRunningObjectTable
      • getActiveObjectsByInterface

        public <T> java.util.List<T> getActiveObjectsByInterface​(java.lang.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 interface IRunningObjectTable
        Returns:
        active objects