public class AvalonInterceptorInvocationHandler extends Object implements InvocationHandler
Constructor and Description |
---|
AvalonInterceptorInvocationHandler(String serviceName,
String serviceShorthand,
Object serviceDelegate,
AvalonInterceptorService[] serviceInterceptorList)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getServiceDelegate() |
AvalonInterceptorService[] |
getServiceInterceptorList() |
String |
getServiceName() |
String |
getServiceShorthand() |
Long |
getTransactionId() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
String |
toString() |
public AvalonInterceptorInvocationHandler(String serviceName, String serviceShorthand, Object serviceDelegate, AvalonInterceptorService[] serviceInterceptorList)
serviceName
- the name of the serviceserviceShorthand
- the shorthand of the service being interceptedserviceDelegate
- the real service implementationserviceInterceptorList
- the list of interceptors to be invokedpublic Object getServiceDelegate()
public AvalonInterceptorService[] getServiceInterceptorList()
public String getServiceName()
public String getServiceShorthand()
public Long getTransactionId()
public String toString()
toString
in class Object
Object.toString()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
Copyright © 2004–1970 The Apache Software Foundation. All rights reserved.