Class PlatformComponent.ExternalAccessInvocationHandler

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

    protected class PlatformComponent.ExternalAccessInvocationHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Nested class for service annotation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IComponentIdentifier cid
      The component identifier.
      protected java.lang.String tostring
      The toString value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFuture<java.lang.Object> doInvoke​(IInternalAccess ia, java.lang.reflect.Method method, java.lang.Object[] args)  
      protected <T> IFuture<T> getDecoupledFuture​(IFuture<T> infut)
      Returns a future that schedules back to calling component if necessary..
      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

      • tostring

        protected java.lang.String tostring
        The toString value.
    • Constructor Detail

      • ExternalAccessInvocationHandler

        protected ExternalAccessInvocationHandler()
    • 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
      • doInvoke

        public IFuture<java.lang.Object> doInvoke​(IInternalAccess ia,
                                                  java.lang.reflect.Method method,
                                                  java.lang.Object[] args)
      • getDecoupledFuture

        protected <T> IFuture<T> getDecoupledFuture​(IFuture<T> infut)
        Returns a future that schedules back to calling component if necessary..
        Parameters:
        infut - Input future.
        Returns: