|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.common.JIMethodDescriptor
public final class JIMethodDescriptor
This class describes an IDL Method. Please remember to keep the Java implementation class(s) Method(s) conforming to exactly as they are described by this object. j-Interop Library uses Java reflection to invoke Java Servers.
Constructor Summary | |
---|---|
JIMethodDescriptor(java.lang.String methodName,
int dispId,
JIParameterObject parameters)
Creates a Method Descriptor. |
|
JIMethodDescriptor(java.lang.String methodName,
JIParameterObject parameters)
Creates the Method Descriptor. |
Method Summary | |
---|---|
int |
getMethodDispID()
Gets the DispID of this method. |
java.lang.String |
getMethodName()
Returns the method name. |
int |
getMethodNum()
Gets the Opnum of this method in the order as defined in the IDL. |
JIParameterObject |
getParameterObject()
Returns the Parameter Object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JIMethodDescriptor(java.lang.String methodName, JIParameterObject parameters)
JIInterfaceDefinition
. This number is incremented by 1 for each subsequent
and new addition into Interface definition.
methodName
- parameters
- public JIMethodDescriptor(java.lang.String methodName, int dispId, JIParameterObject parameters)
methodName
- dispId
- DispID of this method as in the IDL or the TypeLibrary.parameters
- Please pass null
if the method has no parameters.Method Detail |
---|
public java.lang.String getMethodName()
public int getMethodNum()
public int getMethodDispID()
public JIParameterObject getParameterObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |