org.jboss.portal.server.invocation
Interface Invocation

All Known Implementing Classes:
CoreInvocation, InvocationImpl

public interface Invocation

An invocation that works on an interceptor stack.


Method Summary
 java.lang.Object getAttachment(AttachmentKey key)
          Get an object attached.
 java.lang.Object invokeNext()
          Route the invocation to the next interceptor.
 java.lang.Object invokeNext(Interceptor[] newInterceptors)
          Route the invocation to use a new stack.
 void removeAttachment(AttachmentKey key)
          Remove an attached object.
 void setAttachment(AttachmentKey key, java.lang.Object value)
          Attach an object.
 

Method Detail

setAttachment

void setAttachment(AttachmentKey key,
                   java.lang.Object value)
Attach an object.


getAttachment

java.lang.Object getAttachment(AttachmentKey key)
Get an object attached.


removeAttachment

void removeAttachment(AttachmentKey key)
Remove an attached object.


invokeNext

java.lang.Object invokeNext()
Route the invocation to the next interceptor.


invokeNext

java.lang.Object invokeNext(Interceptor[] newInterceptors)
                            throws java.lang.IllegalArgumentException
Route the invocation to use a new stack.

Throws:
java.lang.IllegalArgumentException - if the interceptor stack is null