Class StubInvocationHandlerImpl

java.lang.Object
com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl
All Implemented Interfaces:
InvocationHandler, org.glassfish.pfl.basic.proxy.LinkedInvocationHandler

public final class StubInvocationHandlerImpl extends Object implements org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
  • Field Details

  • Constructor Details

  • Method Details

    • setProxy

      public void setProxy(Proxy self)
      Specified by:
      setProxy in interface org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
    • getProxy

      public Proxy getProxy()
      Specified by:
      getProxy in interface org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
    • isLocal

      private boolean isLocal(Delegate delegate)
    • invoke

      public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
      Specified by:
      invoke in interface InvocationHandler
      Throws:
      Throwable
    • takingRemoteBranch

      @InfoMethod private void takingRemoteBranch()
    • takingLocalBranch

      @InfoMethod private void takingLocalBranch()
    • privateInvoke

      private Object privateInvoke(Delegate delegate, Object proxy, Method method, Object[] args) throws Throwable
      Invoke the given method with the args and return the result. This may result in a remote invocation.
      Parameters:
      proxy - The proxy used for this class (null if not using java.lang.reflect.Proxy)
      Throws:
      Throwable