|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.sape.carbon.core.component.proxy.ProxyInvoker
This class provides the final invocation on the targe class. This class or something similar should always be at the end of interceptor chains that are configured to execute the supplied invocations.
Copyright 2003 Sapient
| Constructor Summary | |
ProxyInvoker()
|
|
| Method Summary | |
Class[] |
getExposedInterfaces()
This should return the list of interfaces that a decorator wishes to expose through the component proxy. |
Object |
invoke(Invocation invocation)
Handles the delegation to the target of the component call. |
void |
setComponentReference(Component component)
Called after creation to pass a reference to the component to each of its decorators. |
void |
setNextInterceptor(Interceptor interceptor)
This method sets the next interceptor as the next in the chain from the current interceptor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProxyInvoker()
| Method Detail |
public void setNextInterceptor(Interceptor interceptor)
setNextInterceptor in interface Interceptorinterceptor - the next interceptor in the chain
public Object invoke(Invocation invocation)
throws Throwable
invoke in interface Interceptorinvocation - the invocation to execute
Throwable - indicates an error in the invokation chainpublic Class[] getExposedInterfaces()
getExposedInterfaces in interface Decoratorpublic void setComponentReference(Component component)
setComponentReference in interface Decoratorcomponent - a reference to the component that this interceptor is
assisting
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||