Top Fields Constructors Methods
com.sun.jna.platform.win32.COM.util

public Class RunningObjectTable

extends Object
implements IRunningObjectTable
Class Inheritance
All Implemented Interfaces
com.sun.jna.platform.win32.COM.util.IRunningObjectTable
Imports
java.util.ArrayList, .List, com.sun.jna.platform.win32.WinNT, com.sun.jna.platform.win32.COM.COMException, .COMUtils, com.sun.jna.ptr.PointerByReference

Field Summary

Modifier and TypeField and Description
pack-priv ObjectFactory
pack-priv RunningObjectTable

Constructor Summary

AccessConstructor and Description
protected

Method Summary

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

Implements com.sun.jna.platform.win32.COM.util.IRunningObjectTable.enumRunning.

Creates and returns an enumerator of all the objects currently registered in the running object table (ROT).
public <T> List<T>
getActiveObjectsByInterface(Class<T> comInterface)

Implements com.sun.jna.platform.win32.COM.util.IRunningObjectTable.getActiveObjectsByInterface.

Gets all the active (running) objects that support the give interface.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoryback to summary
pack-priv ObjectFactory factory
rawback to summary
pack-priv RunningObjectTable raw

Constructor Detail

RunningObjectTableback to summary
protected RunningObjectTable(RunningObjectTable raw, ObjectFactory factory)

Method Detail

enumRunningback to summary
public Iterable<IDispatch> enumRunning()

Implements com.sun.jna.platform.win32.COM.util.IRunningObjectTable.enumRunning.

Doc from com.sun.jna.platform.win32.COM.util.IRunningObjectTable.enumRunning.

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

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

Implements com.sun.jna.platform.win32.COM.util.IRunningObjectTable.getActiveObjectsByInterface.

Doc from com.sun.jna.platform.win32.COM.util.IRunningObjectTable.getActiveObjectsByInterface.

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

Annotations
@Override