|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the abilities of a decorator to be added to a Component's interceptor chain. The interceptor chain is called from a component's facade for each invocation on that component.
Copyright 2003 Sapient
Method Summary | |
Object |
invoke(Invocation invocation)
This method must implement the invocation of any necessary actions and the chaining the next interceptor. |
void |
setNextInterceptor(Interceptor interceptor)
This method sets the next interceptor as the next in the chain from the current interceptor. |
Methods inherited from interface org.sape.carbon.core.component.proxy.Decorator |
getExposedInterfaces, setComponentReference |
Method Detail |
public void setNextInterceptor(Interceptor interceptor)
interceptor
- the next interceptor in the chainpublic Object invoke(Invocation invocation) throws Throwable
invocation
- the invocation to execute
Throwable
- indicates an error on the invocation chain
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |