Class AbstractExecutor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger log  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.Object execute​(java.lang.Object o)
      Execute method against context.
      java.lang.reflect.Method getMethod()  
      boolean isAlive()
      Tell whether the executor is alive by looking at the value of the method.
      protected void setMethod​(java.lang.reflect.Method method)  
      • Methods inherited from class java.lang.Object

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

      • log

        protected org.slf4j.Logger log
    • Constructor Detail

      • AbstractExecutor

        public AbstractExecutor()
    • Method Detail

      • execute

        public abstract java.lang.Object execute​(java.lang.Object o)
                                          throws java.lang.IllegalAccessException,
                                                 java.lang.reflect.InvocationTargetException
        Execute method against context.
        Parameters:
        o -
        Returns:
        The resulting object.
        Throws:
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • isAlive

        public boolean isAlive()
        Tell whether the executor is alive by looking at the value of the method.
        Returns:
        True if executor is alive.
      • getMethod

        public java.lang.reflect.Method getMethod()
        Returns:
        The current method.
      • setMethod

        protected void setMethod​(java.lang.reflect.Method method)
        Parameters:
        method -
        Since:
        1.5