Factory#disposeAll().
| Modifier and Type | Field and Description |
|---|---|
| private WinDef. | |
| private static final WinDef. | LOCALE_USER_DEFAULT
The Constant LOCALE_USER_DEFAULT. |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv IDispatchCallback | createDispatchCallback(Class<?> comEventCallbackInterface, IComEventCallbackListener comEventCallbackListener)
|
| public <T> T | createObject(Class<T> comInterface)
Creates a new COM object (CoCreateInstance) for the given progId and returns a ProxyObject for the given interface. |
| public <T> T | createProxy(Class<T> comInterface, IDispatch dispatch)
Creates a ProxyObject for the given interface and IDispatch pointer. |
| pack-priv Guid. | |
| public void | |
| public <T> T | fetchObject(Class<T> comInterface)
Gets and existing COM object (GetActiveObject) for the given progId and returns a ProxyObject for the given interface. |
| protected void | finalize()
Overrides java. |
| public WinDef. | Returns: IfsetLCID is not called retrieves the users default
locale, else the set LCID.Retrieve the LCID to be used for COM calls. |
| public IRunningObjectTable | Returns: running object tableCoInitialize must be called be fore this method. |
| public void | |
| public void | |
| public void |
| LCID | back to summary |
|---|---|
| private WinDef. | |
| LOCALE_USER_DEFAULT | back to summary |
|---|---|
| private static final WinDef. The Constant LOCALE_USER_DEFAULT. | |
| registeredObjects | back to summary |
|---|---|
| private final List<WeakReference<ProxyObject>> registeredObjects | |
| ObjectFactory | back to summary |
|---|---|
| public ObjectFactory() | |
| createDispatchCallback | back to summary |
|---|---|
| pack-priv IDispatchCallback createDispatchCallback(Class<?> comEventCallbackInterface, IComEventCallbackListener comEventCallbackListener) | |
| createObject | back to summary |
|---|---|
| public <T> T createObject(Class<T> comInterface) Creates a new COM object (CoCreateInstance) for the given progId and returns a ProxyObject for the given interface. | |
| createProxy | back to summary |
|---|---|
| public <T> T createProxy(Class<T> comInterface, IDispatch dispatch) Creates a ProxyObject for the given interface and IDispatch pointer.
| |
| discoverClsId | back to summary |
|---|---|
| pack-priv Guid. | |
| disposeAll | back to summary |
|---|---|
| public void disposeAll() | |
| fetchObject | back to summary |
|---|---|
| public <T> T fetchObject(Class<T> comInterface) throws COMException Gets and existing COM object (GetActiveObject) for the given progId and returns a ProxyObject for the given interface. | |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| getLCID | back to summary |
|---|---|
| public WinDef. Retrieve the LCID to be used for COM calls. | |
| getRunningObjectTable | back to summary |
|---|---|
| public IRunningObjectTable getRunningObjectTable() CoInitialize must be called be fore this method. Either explicitly or implicitly via other methods.
| |
| register | back to summary |
|---|---|
| public void register(ProxyObject proxyObject) | |
| setLCID | back to summary |
|---|---|
| public void setLCID(WinDef. Set the LCID to use for COM calls. | |
| unregister | back to summary |
|---|---|
| public void unregister(ProxyObject proxyObject) | |