org.jboss.ejb.plugins.jrmp.interfaces
Class RemoteMethodInvocation

java.lang.Object
  |
  +--org.jboss.ejb.plugins.jrmp.interfaces.RemoteMethodInvocation
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public final class RemoteMethodInvocation
extends java.lang.Object
implements java.io.Externalizable

MethodInvocation This Serializable object carries the method to invoke and an identifier for the target ojbect

Version:
$Revision: 1.9 $
Author:
Rickard Öberg (rickard.oberg@telkel.com), Richard Monson-Haefel., Marc Fleury., Daniel O'Connor.
See Also:
, Serialized Form

Constructor Summary
RemoteMethodInvocation()
           
RemoteMethodInvocation(java.lang.reflect.Method m, java.lang.Object[] args)
           
RemoteMethodInvocation(java.lang.Object id, java.lang.reflect.Method m, java.lang.Object[] args)
           
 
Method Summary
static int calculateHash(java.lang.reflect.Method method)
           
 java.lang.Object[] getArguments()
           
 java.lang.Object getCredential()
           
 java.lang.Object getId()
           
 java.lang.reflect.Method getMethod()
           
 java.security.Principal getPrincipal()
           
 javax.transaction.Transaction getTransaction()
           
 void readExternal(java.io.ObjectInput in)
           
 void setCredential(java.lang.Object credential)
           
 void setMethodMap(java.util.Map methods)
           
 void setPrincipal(java.security.Principal identity)
           
 void setTransaction(javax.transaction.Transaction tx)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteMethodInvocation

public RemoteMethodInvocation()

RemoteMethodInvocation

public RemoteMethodInvocation(java.lang.reflect.Method m,
                              java.lang.Object[] args)

RemoteMethodInvocation

public RemoteMethodInvocation(java.lang.Object id,
                              java.lang.reflect.Method m,
                              java.lang.Object[] args)
Method Detail

calculateHash

public static int calculateHash(java.lang.reflect.Method method)

getId

public java.lang.Object getId()

getMethod

public java.lang.reflect.Method getMethod()

getArguments

public java.lang.Object[] getArguments()

setMethodMap

public void setMethodMap(java.util.Map methods)

setTransaction

public void setTransaction(javax.transaction.Transaction tx)

getTransaction

public javax.transaction.Transaction getTransaction()

setPrincipal

public void setPrincipal(java.security.Principal identity)

getPrincipal

public java.security.Principal getPrincipal()

getCredential

public java.lang.Object getCredential()

setCredential

public void setCredential(java.lang.Object credential)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable


Copyright © 2000 The jBoss Organization. All Rights Reserved.