com.jniwrapper.win32.com
Class LibraryClassFactory

java.lang.Object
  extended bycom.jniwrapper.Library
      extended bycom.jniwrapper.win32.com.LibraryClassFactory

public class LibraryClassFactory
extends Library

Provides the ability to load IClassFactory instance directly from the library. This class allows to use COM servers without registering them in the system. A required library file can be located inside a JAR file.


Field Summary
 
Fields inherited from class com.jniwrapper.Library
f, g, h, i, NATIVE_CODE, NATIVE_NAME
 
Constructor Summary
LibraryClassFactory(java.lang.String libraryName)
          Constructs library class factory by specified library name.
 
Method Summary
 IClassFactory getClassFactory(CLSID clsid)
          Loads the class factory from this library by specified class id.
 
Methods inherited from class com.jniwrapper.Library
, a, a, b, b, ensureNativeCode, getDefaultLibraryLoader, getFunction, getFunction, getJNIWrapperLibrary, getJVMLibraries, getLibraryLoader, getName, getVariable, isLoaded, load, load, load, load, loadNativeCode, loadNativeCode, loadNativeCode, setDefaultLibraryLoader, unload, unloadNativeCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryClassFactory

public LibraryClassFactory(java.lang.String libraryName)
Constructs library class factory by specified library name.

Parameters:
libraryName - library name
Method Detail

getClassFactory

public IClassFactory getClassFactory(CLSID clsid)
Loads the class factory from this library by specified class id.

Parameters:
clsid - id of the class factory
Returns:
class factory object