public final class JDKInvocationHandler<B>
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, org.oasisopen.sca.ServiceReference<B>
| Constructor and Description |
|---|
JDKInvocationHandler(java.lang.Class<B> interfaze,
java.lang.String callbackUri,
java.util.Map<java.lang.reflect.Method,org.fabric3.spi.container.wire.InvocationChain> mapping)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<B> |
getBusinessInterface() |
B |
getService() |
org.oasisopen.sca.ServiceReference<B> |
getServiceReference() |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
public JDKInvocationHandler(java.lang.Class<B> interfaze, java.lang.String callbackUri, java.util.Map<java.lang.reflect.Method,org.fabric3.spi.container.wire.InvocationChain> mapping)
interfaze - the proxy interfacecallbackUri - the callback uri or null if the wire is unidirectionalmapping - the method to invocation chain mappings for the wirepublic B getService()
getService in interface org.oasisopen.sca.ServiceReference<B>public java.lang.Class<B> getBusinessInterface()
getBusinessInterface in interface org.oasisopen.sca.ServiceReference<B>public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic org.oasisopen.sca.ServiceReference<B> getServiceReference()