org.jboss.ejb3.common.proxy.spi
Interface ChainableProcessor

All Known Implementing Classes:
AsyncProcessor

public interface ChainableProcessor

ChainableInvocationHandler An InvocationHandler that is chain-aware. May perform its own processing before, after, or ignoring the rest of the InvocationHandlers in the chain of which it is a part

Version:
$Revision: $
Author:
ALR

Method Summary
 Object invoke(ChainedProcessingInvocationHandler chain, Object proxy, Method method, Object[] args)
          Invokes this handler with the specified arguments.
 

Method Detail

invoke

Object invoke(ChainedProcessingInvocationHandler chain,
              Object proxy,
              Method method,
              Object[] args)
              throws Throwable
Invokes this handler with the specified arguments. Processing may be performed before or after the rest of the chain depending upon when "chain.invokeNext()" is executed.

Parameters:
chain -
proxy -
method -
args -
Returns:
Throws:
Throwable


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