Class AbstractConfigurableService<T extends ConfigBean>

All Implemented Interfaces:
CtxEventListener, ConfigAware<T>, ContextHandleAware, HandleAware, Ready, ReadyListener

public abstract class AbstractConfigurableService<T extends ConfigBean> extends AbstractService implements ConfigAware<T>
Abstract base class for all services that are configurable. It extends AbstractService, which provides a great deal of base functionality. This class simply adds ConfigAware support.
Since:
1.0
Version:
2022-09-12
  • Constructor Details

    • AbstractConfigurableService

      public AbstractConfigurableService()
  • Method Details

    • getConfig

      public T getConfig()
      Retrieves the configuration bean.
      Specified by:
      getConfig in interface ConfigAware<T extends ConfigBean>
      Returns:
      the config bean
    • setConfig

      public void setConfig(T config)
      Sets the configuration bean.
      Specified by:
      setConfig in interface ConfigAware<T extends ConfigBean>
      Parameters:
      config - the config bean