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
|
Method Summary |
java.lang.Object |
invoke(ChainedProcessingInvocationHandler chain,
java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invokes this handler with the specified arguments. |
invoke
java.lang.Object invoke(ChainedProcessingInvocationHandler chain,
java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.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:
java.lang.Throwable