org.jboss.ejb
Class MethodInvocation

java.lang.Object
  |
  +--org.jboss.ejb.MethodInvocation

public class MethodInvocation
extends java.lang.Object

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

Version:
$Revision: 1.8 $
Author:
Rickard Öberg (rickard.oberg@telkel.com), Marc Fleury.
See Also:

Constructor Summary
MethodInvocation(java.lang.Object id, java.lang.reflect.Method m, java.lang.Object[] args, javax.transaction.Transaction tx, java.security.Principal identity, java.lang.Object credential)
           
 
Method Summary
 java.lang.Object[] getArguments()
           
 java.lang.Object getCredential()
           
 EnterpriseContext getEnterpriseContext()
           
 java.lang.Object getId()
           
 java.lang.reflect.Method getMethod()
           
 java.security.Principal getPrincipal()
           
 javax.transaction.Transaction getTransaction()
           
 void setCredential(java.lang.Object credential)
           
 void setEnterpriseContext(EnterpriseContext ctx)
           
 void setPrincipal(java.security.Principal identity)
           
 void setTransaction(javax.transaction.Transaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvocation

public MethodInvocation(java.lang.Object id,
                        java.lang.reflect.Method m,
                        java.lang.Object[] args,
                        javax.transaction.Transaction tx,
                        java.security.Principal identity,
                        java.lang.Object credential)
Method Detail

getId

public java.lang.Object getId()

getMethod

public java.lang.reflect.Method getMethod()

getArguments

public java.lang.Object[] getArguments()

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()

setCredential

public void setCredential(java.lang.Object credential)

getCredential

public java.lang.Object getCredential()

setEnterpriseContext

public void setEnterpriseContext(EnterpriseContext ctx)

getEnterpriseContext

public EnterpriseContext getEnterpriseContext()


Copyright © 2000 The jBoss Organization. All Rights Reserved.