org.jboss.aop.joinpoint
Class InvocationResponse

java.lang.Object
  extended by org.jboss.aop.joinpoint.InvocationResponse
All Implemented Interfaces:
Externalizable, Serializable

public class InvocationResponse
extends Object
implements Externalizable

Allows interceptors to communicate information back down the chain

Version:
$Revision: 70849 $ Revisions:

Revisions:

Author:
Bill Burke
See Also:
, Serialized Form

Field Summary
protected  Map<Object,Object> contextInfo
           
protected  Object response
           
 
Constructor Summary
InvocationResponse()
           
InvocationResponse(Object obj)
           
 
Method Summary
 void addAttachment(Object key, Object val)
           
 Object getAttachment(Object key)
           
 Map<Object,Object> getContextInfo()
           
 Object getResponse()
           
 void readExternal(ObjectInput in)
           
 void setContextInfo(Map<Object,Object> contextInfo)
           
 void setResponse(Object obj)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextInfo

protected Map<Object,Object> contextInfo

response

protected Object response
Constructor Detail

InvocationResponse

public InvocationResponse()

InvocationResponse

public InvocationResponse(Object obj)
Method Detail

getContextInfo

public Map<Object,Object> getContextInfo()

setContextInfo

public void setContextInfo(Map<Object,Object> contextInfo)

getResponse

public Object getResponse()

setResponse

public void setResponse(Object obj)

addAttachment

public void addAttachment(Object key,
                          Object val)

getAttachment

public Object getAttachment(Object key)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.