Class RemoteProxyInvocationHandler
java.lang.Object
org.j7m.middleware.transport.api.RemoteProxyInvocationHandler
- All Implemented Interfaces:
InvocationHandler
Invocation handler used by generic transport providers.
The handler is immutable and thread-safe. It converts Java interface
method calls to MethodDescriptor invocations and lets the owning
provider perform transport dispatch.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteProxyInvocationHandler(ObjectRef ref, Class<?> api, ProxyOptions options, RuntimeTransportContext context, TransportProvider provider) Creates a proxy invocation handler. -
Method Summary
-
Constructor Details
-
RemoteProxyInvocationHandler
public RemoteProxyInvocationHandler(ObjectRef ref, Class<?> api, ProxyOptions options, RuntimeTransportContext context, TransportProvider provider) Creates a proxy invocation handler.- Parameters:
ref- target referenceapi- required Java interfaceoptions- proxy optionscontext- runtime transport contextprovider- owning provider
-
-
Method Details
-
ref
-
invoke
-