org.jboss.invocation
Class LocalEJBInvocation

java.lang.Object
  extended byorg.jboss.invocation.Invocation (src) 
      extended byorg.jboss.invocation.LocalEJBInvocation
Direct Known Subclasses:
CMRInvocation (src) , RelationInterceptor.RelationInvocation (src)

public class LocalEJBInvocation
extends Invocation (src)

Optimized invocation object for Local interface invocations


Field Summary
 
Fields inherited from class org.jboss.invocation.Invocation (src)
args, as_is_payload, invocationContext, invocationType, INVOKE_SIGNATURE, method, objectName, payload, transient_payload
 
Constructor Summary
LocalEJBInvocation()
           
LocalEJBInvocation(java.lang.Object id, java.lang.reflect.Method m, java.lang.Object[] args, Transaction (src)  tx, java.security.Principal identity, java.lang.Object credential)
           
 
Method Summary
 java.lang.Object getCredential()
           
 java.lang.Object getEnterpriseContext()
           
 java.lang.Object getId()
           
 java.security.Principal getPrincipal()
           
 Transaction (src) getTransaction()
          get the transaction.
 void setCredential(java.lang.Object credential)
          Change the security credentials of this invocation.
 void setEnterpriseContext(java.lang.Object enterpriseContext)
           
 void setId(java.lang.Object id)
          Return the invocation target ID.
 void setPrincipal(java.security.Principal principal)
          Change the security identity of this invocation.
 void setTransaction(Transaction (src)  tx)
          set the transaction.
 
Methods inherited from class org.jboss.invocation.Invocation (src)
getArguments, getAsIsPayload, getAsIsValue, getInvocationContext, getMethod, getObjectName, getPayload, getPayloadValue, getTransientPayload, getTransientValue, getType, getValue, isLocal, performCall, setArguments, setInvocationContext, setMethod, setObjectName, setType, setValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalEJBInvocation

public LocalEJBInvocation()

LocalEJBInvocation

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

setTransaction

public void setTransaction(Transaction (src)  tx)
Description copied from class: Invocation (src)
set the transaction.

Overrides:
setTransaction in class Invocation (src)

getTransaction

public Transaction (src)  getTransaction()
Description copied from class: Invocation (src)
get the transaction.

Overrides:
getTransaction in class Invocation (src)

getCredential

public java.lang.Object getCredential()
Overrides:
getCredential in class Invocation (src)

setCredential

public void setCredential(java.lang.Object credential)
Description copied from class: Invocation (src)
Change the security credentials of this invocation.

Overrides:
setCredential in class Invocation (src)

getPrincipal

public java.security.Principal getPrincipal()
Overrides:
getPrincipal in class Invocation (src)

setPrincipal

public void setPrincipal(java.security.Principal principal)
Description copied from class: Invocation (src)
Change the security identity of this invocation.

Overrides:
setPrincipal in class Invocation (src)

getEnterpriseContext

public java.lang.Object getEnterpriseContext()
Overrides:
getEnterpriseContext in class Invocation (src)

setEnterpriseContext

public void setEnterpriseContext(java.lang.Object enterpriseContext)
Overrides:
setEnterpriseContext in class Invocation (src)

getId

public java.lang.Object getId()
Overrides:
getId in class Invocation (src)

setId

public void setId(java.lang.Object id)
Description copied from class: Invocation (src)
Return the invocation target ID. Can be used to identify a cached object

Overrides:
setId in class Invocation (src)