Class HelperManager.LifecycleDetails

  • Enclosing class:
    HelperManager

    private static class HelperManager.LifecycleDetails
    extends java.lang.Object
    a record of a specific helper class tracking the number of installed rules which reference it and referencing a table detailing the lifecycle methods it implements LifeCycleDetails are daisy-chained to ensure that lifecycle processing associated with a superclass are performed automatically as part of a given Helper class's lifecycle processing.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.reflect.Method activated
      method called when helper is activated
      java.lang.reflect.Method deactivated
      method called when helper is deactivated
      int installCount
      reference count for installed rules which employ this helper class
      java.lang.reflect.Method installed
      method called when rule is installed
      boolean installedTakesRule
      flag true if installed takes a Rule argument false if it takes a String argument
      java.lang.Class<?> lifecycleClass
      the helper class whose lifecycle this record details
      HelperManager.LifecycleDetails parent
      daisy-chain link to the the first parent class which also requires lifecycle processing or null if there is no such parent
      java.lang.reflect.Method uninstalled
      method called when rule is uninstalled
      boolean uninstalledTakesRule
      flag true if uninstalled takes a Rule argument false if it takes a String argument
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • lifecycleClass

        public java.lang.Class<?> lifecycleClass
        the helper class whose lifecycle this record details
      • parent

        public HelperManager.LifecycleDetails parent
        daisy-chain link to the the first parent class which also requires lifecycle processing or null if there is no such parent
      • installCount

        public int installCount
        reference count for installed rules which employ this helper class
      • activated

        public java.lang.reflect.Method activated
        method called when helper is activated
      • deactivated

        public java.lang.reflect.Method deactivated
        method called when helper is deactivated
      • installed

        public java.lang.reflect.Method installed
        method called when rule is installed
      • installedTakesRule

        public boolean installedTakesRule
        flag true if installed takes a Rule argument false if it takes a String argument
      • uninstalled

        public java.lang.reflect.Method uninstalled
        method called when rule is uninstalled
      • uninstalledTakesRule

        public boolean uninstalledTakesRule
        flag true if uninstalled takes a Rule argument false if it takes a String argument