|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.common.JIInterfaceDefinition
public final class JIInterfaceDefinition
Forms the definition of a Java Interface. Please note that Overloads not allowed. Primarily used to form a definition for callback.
Constructor Summary | |
---|---|
JIInterfaceDefinition(java.lang.String interfaceIdentifier)
Creates an Interface definition. |
|
JIInterfaceDefinition(java.lang.String interfaceIdentifier,
boolean isDispInterface)
Creates an Interface definition. |
Method Summary | |
---|---|
void |
addMethodDescriptor(JIMethodDescriptor methodDescriptor)
Adds a Method Descriptor. |
java.lang.String |
getInterfaceIdentifier()
Returns the interface identifier of this definition. |
JIMethodDescriptor |
getMethodDescriptor(int opnum)
Returns the descriptor identified by it's Method number. |
JIMethodDescriptor |
getMethodDescriptor(java.lang.String name)
Returns the descriptor identified by it's Method Name. |
JIMethodDescriptor |
getMethodDescriptorForDispId(int dispId)
Returns the descriptor identified by it's dispId. |
JIMethodDescriptor[] |
getMethodDescriptors()
Returns all descriptors. |
boolean |
isDispInterface()
Returns whether this interface supports IDispatch or not. |
void |
removeMethodDescriptor(int opnum)
Removes the descriptor identified by it's Method Num. |
void |
removeMethodDescriptor(java.lang.String methodName)
Removes the descriptor identified by it's Method Name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JIInterfaceDefinition(java.lang.String interfaceIdentifier)
interfaceIdentifier
- public JIInterfaceDefinition(java.lang.String interfaceIdentifier, boolean isDispInterface)
isDispInterface
interface to false if this interface does not
support IDispatch based calls.
interfaceIdentifier
- isDispInterface
- true if IDispatch is supported ("dispinterface"), false otherwiseMethod Detail |
---|
public void addMethodDescriptor(JIMethodDescriptor methodDescriptor)
Please note that overloaded Methods are not allowed.
methodDescriptor
- public JIMethodDescriptor getMethodDescriptor(int opnum)
opnum
-
public JIMethodDescriptor getMethodDescriptorForDispId(int dispId)
dispId
-
public JIMethodDescriptor getMethodDescriptor(java.lang.String name)
name
-
public JIMethodDescriptor[] getMethodDescriptors()
public java.lang.String getInterfaceIdentifier()
public void removeMethodDescriptor(int opnum)
Please note that removal of a sequential Method Num can have unpredictable results during a call.
opnum
- public void removeMethodDescriptor(java.lang.String methodName)
Please note that removal of a sequential Method Num can have unpredictable results during a call.
methodName
- public boolean isDispInterface()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |