Class GlobalServicePoolAgent.ForwardHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing class:
    GlobalServicePoolAgent

    public class GlobalServicePoolAgent.ForwardHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Invocation handler that forwards to the contained local pool.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Class<?> servicetype
      The service type.
    • Constructor Summary

      Constructors 
      Constructor Description
      ForwardHandler​(java.lang.Class<?> servicetype)
      Create a new forward handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • servicetype

        protected java.lang.Class<?> servicetype
        The service type.
    • Constructor Detail

      • ForwardHandler

        public ForwardHandler​(java.lang.Class<?> servicetype)
        Create a new forward handler.
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable