Class ConfigMethodHandler

java.lang.Object
com.nt.udc.ndk.node.ConfigMethodHandler
Direct Known Subclasses:
DefaultFlushConditions

public class ConfigMethodHandler extends Object
This class should be extended for use in a node that requires user-defined conditions, rather than those supported by default in the node. Basically, this class will ensure the derived class has access to the logger and the NPL config class, if they are needed. There may be more default elements added to this class as the need arises.
  • Constructor Details

    • ConfigMethodHandler

      public ConfigMethodHandler(LoggerIfc logger, ConfigIfc nplConfig)
      Creates a new instance of a method handler.
      Parameters:
      logger - Node's logger
      nplConfig - Node's NPL config
  • Method Details

    • getLogger

      protected LoggerIfc getLogger()
      Returns the Node's logger.
      Returns:
      Node's logger
    • getNPLConfig

      protected ConfigIfc getNPLConfig()
      Returns the Node's NPL Configuration. Please refer to the documentation for the "NPLDeclarations" class for more information.
      Returns:
      NPL configuration