Class RemoteProxyInvocationHandler

java.lang.Object
org.j7m.middleware.transport.api.RemoteProxyInvocationHandler
All Implemented Interfaces:
InvocationHandler

public final class RemoteProxyInvocationHandler extends Object implements 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 Details

    • RemoteProxyInvocationHandler

      public RemoteProxyInvocationHandler(ObjectRef ref, Class<?> api, ProxyOptions options, RuntimeTransportContext context, TransportProvider provider)
      Creates a proxy invocation handler.
      Parameters:
      ref - target reference
      api - required Java interface
      options - proxy options
      context - runtime transport context
      provider - owning provider
  • Method Details