org.jboss.ejb.plugins.jrmp.interfaces
Class MethodInvocation
java.lang.Object
|
+--org.jboss.ejb.plugins.jrmp.interfaces.MethodInvocation
- All Implemented Interfaces:
- java.io.Serializable
- public class MethodInvocation
- extends java.lang.Object
- implements java.io.Serializable
MethodInvocation
This Serializable object carries the method to invoke and an identifier for the target ojbect
- Version:
- $Revision: 1.8 $
- Author:
- Rickard Öberg (rickard.oberg@telkel.com), Richard Monson-Haefel., Marc Fleury.
- See Also:
- , Serialized Form
Constructor Summary |
MethodInvocation(java.lang.reflect.Method m,
java.lang.Object[] args)
|
MethodInvocation(java.lang.Object id,
java.lang.reflect.Method m,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MethodInvocation
public MethodInvocation(java.lang.reflect.Method m,
java.lang.Object[] args)
MethodInvocation
public MethodInvocation(java.lang.Object id,
java.lang.reflect.Method m,
java.lang.Object[] args)
getLocal
public static ContainerRemote getLocal(java.lang.String jndiName)
addLocal
public static void addLocal(java.lang.String jndiName,
ContainerRemote invoker)
removeLocal
public static void removeLocal(java.lang.String jndiName)
getId
public java.lang.Object getId()
getMethod
public java.lang.reflect.Method getMethod()
throws java.lang.NoSuchMethodException,
java.lang.ClassNotFoundException
getArguments
public java.lang.Object[] getArguments()
throws java.io.IOException,
java.lang.ClassNotFoundException
calculateHash
public static int calculateHash(java.lang.reflect.Method method)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2000 The jBoss Organization. All Rights Reserved.