org.jinterop.dcom.core
Class JIInterfacePointer

java.lang.Object
  extended by org.jinterop.dcom.core.JIInterfacePointer
All Implemented Interfaces:
java.io.Serializable

public final class JIInterfacePointer
extends java.lang.Object
implements java.io.Serializable

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);

Since:
1.0
See Also:
Serialized Form

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

getIID

public java.lang.String getIID()
Returns the Interface Identifier for this MIP.

Returns:
String representation of 128 bit uuid.

getInterfacePointer

public static JIInterfacePointer getInterfacePointer(JISession session,
                                                     JIJavaCoClass javaComponent)
                                              throws JIException
Returns an Interface Pointer representation for the Java Component

Parameters:
javaComponent -
Returns:
Throws:
JIException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object