|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.core.JIInterfacePointer
public final class JIInterfacePointer
Class representing a Marshalled Interface Pointer. You will never use the members of this
class directly, but always as an implementation of IJIComObject
interface.
Sample Usage:-
IJIComObject connectionPointContainer = (IJIComObject)ieObject.queryInterface("B196B284-BAB4-101A-B69C-00AA00341D07");
JICallObject object = new JICallObject(connectionPointContainer.getIpid(),true);
object.setOpnum(1);
object.addInParamAsUUID("34A715A0-6587-11D0-924A-0020AFC7AC4D",JIFlags.FLAG_NULL);
object.addOutParamAsObject(JIInterfacePointer.class,JIFlags.FLAG_NULL);
Object[] objects = (Object[])connectionPointContainer.call(object); //find connection point
JIInterfacePointer connectionPtr = (JIInterfacePointer)objects[0];
IJIComObject connectionPointer = JIComFactory.createCOMInstance(connectionPointContainer,connectionPtr);
Method Summary | |
---|---|
java.lang.String |
getIID()
Returns the Interface Identifier for this MIP. |
static JIInterfacePointer |
getInterfacePointer(JISession session,
JIJavaCoClass javaComponent)
Returns an Interface Pointer representation for the Java Component |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getIID()
public static JIInterfacePointer getInterfacePointer(JISession session, JIJavaCoClass javaComponent) throws JIException
javaComponent
-
JIException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |