|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.invocation.Invocation
org.jboss.invocation.MarshalledInvocation
org.jboss.invocation.pooled.interfaces.PooledMarshalledInvocation
The MarshalledInvocation is an invocation that travels. As such it serializes its payload because of lack of ClassLoader visibility. As such it contains Marshalled data representing the byte[] of the Invocation object it extends Besides handling the specifics of "marshalling" the payload, which could be done at the Invocation level the Marshalled Invocation can hold optimization and needed code for distribution for example the TransactionPropagationContext which is a serialization of the TX for distribution purposes as well as the "hash" for the methods that we send, as opposed to sending Method objects. Serialization "optimizations" should be coded here in the externalization implementation of the class
Revisions:
2001120 marc fleury:
20020113 Sacha Labourey:
20020911 Bill Burke:
| Field Summary |
| Fields inherited from class org.jboss.invocation.MarshalledInvocation |
marshalledArgs, methodHash, methodMap, tpc |
| Fields inherited from class org.jboss.invocation.Invocation |
args, as_is_payload, invocationContext, invocationType, INVOKE_SIGNATURE, method, objectName, payload, transient_payload |
| Constructor Summary | |
PooledMarshalledInvocation()
|
|
PooledMarshalledInvocation(Invocation invocation)
|
|
PooledMarshalledInvocation(Object id,
Method m,
Object[] args,
Transaction tx,
Principal identity,
Object credential)
|
|
| Method Summary | |
Object[] |
getArguments()
|
Object |
getCredential()
|
Object |
getEnterpriseContext()
|
Object |
getId()
|
Principal |
getPrincipal()
|
Transaction |
getTransaction()
get the transaction. |
void |
readExternal(ObjectInput in)
|
void |
setCredential(Object credential)
Change the security credentials of this invocation. |
void |
setEnterpriseContext(Object enterpriseContext)
|
void |
setId(Object id)
Return the invocation target ID. |
void |
setPrincipal(Principal principal)
Change the security identity of this invocation. |
void |
setTransaction(Transaction tx)
set the transaction. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.jboss.invocation.MarshalledInvocation |
calculateHash, getFullInterfaceHashes, getInterfaceHashes, getMethod, getPayloadValue, getTransactionPropagationContext, getUseFullHashMode, getValue, methodToHashesMap, removeHashes, setMethodMap, setTransactionPropagationContext, setUseFullHashMode |
| Methods inherited from class org.jboss.invocation.Invocation |
getAsIsPayload, getAsIsValue, getInvocationContext, getObjectName, getPayload, getTransientPayload, getTransientValue, getType, isLocal, 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 |
public PooledMarshalledInvocation()
public PooledMarshalledInvocation(Invocation invocation)
public PooledMarshalledInvocation(Object id, Method m, Object[] args, Transaction tx, Principal identity, Object credential)
| Method Detail |
public Object getEnterpriseContext()
getEnterpriseContext in class Invocationpublic void setEnterpriseContext(Object enterpriseContext)
setEnterpriseContext in class Invocationpublic Object getId()
getId in class Invocationpublic void setId(Object id)
Invocation
setId in class Invocationpublic void setTransaction(Transaction tx)
Invocation
setTransaction in class Invocationpublic Transaction getTransaction()
Invocation
getTransaction in class Invocationpublic Object getCredential()
getCredential in class Invocationpublic void setCredential(Object credential)
Invocation
setCredential in class Invocationpublic Principal getPrincipal()
getPrincipal in class Invocationpublic void setPrincipal(Principal principal)
Invocation
setPrincipal in class Invocationpublic Object[] getArguments()
getArguments in class MarshalledInvocationpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class MarshalledInvocationIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class MarshalledInvocationIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||