com.jniwrapper.win32.com.impl
Class IClassFactoryImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.com.impl.IClassFactoryImpl
All Implemented Interfaces:
AutoDeleteParameter, IClassFactory, IUnknown, PointerParameter
Direct Known Subclasses:
IClassFactory2Impl

public class IClassFactoryImpl
extends IUnknownImpl
implements IClassFactory

Represents COM interface IClassFactory.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
IUnknownImpl.MemoryBufferImpl
 
Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
DebugComfyJ, LICENSE_TYPE, PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
V
 
Constructor Summary
  IClassFactoryImpl()
           
  IClassFactoryImpl(CLSID clsid, ClsCtx dwClsContext)
           
  IClassFactoryImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  IClassFactoryImpl(IUnknown that)
           
protected IClassFactoryImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 void createInstance(IUnknown outer, IID iid, IUnknown result)
          Creates an uninitialized object.
 void createInstance(IUnknown outer, java.lang.String stringIID, IUnknown result)
          Creates an uninitialized object.
 IID getIID()
           
 void lockServer(VariantBool fLock)
           
 
Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
acceptIOPerformer, addRef, asVoidPointer, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

IClassFactoryImpl

public IClassFactoryImpl()

IClassFactoryImpl

protected IClassFactoryImpl(IUnknownImpl that)
                     throws ComException

IClassFactoryImpl

public IClassFactoryImpl(IUnknown that)

IClassFactoryImpl

public IClassFactoryImpl(CLSID clsid,
                         ClsCtx dwClsContext)
                  throws ComException

IClassFactoryImpl

public IClassFactoryImpl(CLSID clsid,
                         IUnknown pUnkOuter,
                         ClsCtx dwClsContext)
                  throws ComException
Method Detail

createInstance

public void createInstance(IUnknown outer,
                           IID iid,
                           IUnknown result)
                    throws ComException
Description copied from interface: IClassFactory
Creates an uninitialized object.

Specified by:
createInstance in interface IClassFactory
Parameters:
outer - [in]
iid - [in]
result - [out]
Throws:
ComException - if the object creation fails.

createInstance

public void createInstance(IUnknown outer,
                           java.lang.String stringIID,
                           IUnknown result)
                    throws ComException
Description copied from interface: IClassFactory
Creates an uninitialized object.

Specified by:
createInstance in interface IClassFactory
Parameters:
outer - [in] parameter, points to controlling interface of an aggregate, or null if the object isn't being created as part of an aggregate.
stringIID - [in] parameter, string representation of identifier for the interface used for communication with a new object.
result - [out] parameter, instance implementing a required interface.
Throws:
ComException - if the object creation fails.

lockServer

public void lockServer(VariantBool fLock)
                throws ComException
Specified by:
lockServer in interface IClassFactory
Parameters:
fLock - [in]
Throws:
ComException

getIID

public IID getIID()
Overrides:
getIID in class IUnknownImpl

clone

public java.lang.Object clone()
Overrides:
clone in class IUnknownImpl