|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.core.JILocalMethodDescriptor
public final class JILocalMethodDescriptor
Describe a method of the COM IDL
to be used in Callback implementations.
Framework uses java reflection to invoke methods requested by COM clients so it is
absolutely essential that java methods in the implementation class conform exactly to
what is described in this object.
Please refer to MSInternetExplorer, Test_ITestServer2_Impl, SampleTestServer
and MSShell examples for more details on how to use this class.
Constructor Summary | |
---|---|
JILocalMethodDescriptor(java.lang.String methodName,
int dispId,
JILocalParamsDescriptor parameters)
Creates the method descriptor. |
|
JILocalMethodDescriptor(java.lang.String methodName,
JILocalParamsDescriptor 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. |
JILocalParamsDescriptor |
getParameterObject()
Returns the parameter object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JILocalMethodDescriptor(java.lang.String methodName, JILocalParamsDescriptor parameters)
JILocalInterfaceDefinition
. This number is incremented by 1 for each subsequent
and new addition into interface definition.
methodName
- name of the method.parameters
- pass null
if the method has no parameters.public JILocalMethodDescriptor(java.lang.String methodName, int dispId, JILocalParamsDescriptor parameters)
methodName
- name of the method.dispId
- DISPID
of this method as in the IDL
or the TypeLibrary.parameters
- pass null
if the method has no parameters.Method Detail |
---|
public java.lang.String getMethodName()
public int getMethodNum()
public int getMethodDispID()
DISPID
of this method.
public JILocalParamsDescriptor getParameterObject()
null
if the method has no parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |