com.jniwrapper.win32.com
Class DllClassFactory
java.lang.Object
com.jniwrapper.win32.com.DllClassFactory
- public class DllClassFactory
- extends java.lang.Object
Provides the ability to load IClassFactory instance directly from the specified DLL file.
This technique allows to use COM servers without registering them in the system.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DllClassFactory
public DllClassFactory(java.io.File library)
throws java.io.IOException
load
protected void load(java.io.File library)
throws java.io.IOException
- Throws:
java.io.IOException
getClassFactory
public IClassFactory getClassFactory(CLSID clsid)
- Loads the class factory from this library.
- Parameters:
clsid - class id
- Returns:
- class factory object
freeLibrary
public void freeLibrary()
- Frees this library.