Class AvalonInterceptorInvocationHandler
java.lang.Object
org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorInvocationHandler
- All Implemented Interfaces:
InvocationHandler
The InvocationHandler invoked when a service call is routed through
the dynamic proxy.
- Author:
- Siegfried Goeschl
-
Constructor Summary
ConstructorsConstructorDescriptionAvalonInterceptorInvocationHandler
(String serviceName, String serviceShorthand, Object serviceDelegate, AvalonInterceptorService[] serviceInterceptorList) Constructor. -
Method Summary
-
Constructor Details
-
AvalonInterceptorInvocationHandler
public AvalonInterceptorInvocationHandler(String serviceName, String serviceShorthand, Object serviceDelegate, AvalonInterceptorService[] serviceInterceptorList) Constructor.- Parameters:
serviceName
- the name of the serviceserviceShorthand
- the shorthand of the service being interceptedserviceDelegate
- the real service implementationserviceInterceptorList
- the list of interceptors to be invoked
-
-
Method Details
-
getServiceDelegate
- Returns:
- Returns the delegate.
-
getServiceInterceptorList
- Returns:
- Returns the serviceInterceptorList.
-
getServiceName
- Returns:
- Returns the serviceName.
-
getServiceShorthand
- Returns:
- Returns the serviceShorthand.
-
getTransactionId
- Returns:
- Returns the transaction id
-
toString
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
- See Also:
-