Class ConfiguringLifecycleProcessor

java.lang.Object
org.springframework.context.support.DefaultLifecycleProcessor
org.frankframework.lifecycle.ConfiguringLifecycleProcessor
All Implemented Interfaces:
IConfigurable, ConfigurableLifecycle, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.Lifecycle, org.springframework.context.LifecycleProcessor, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class ConfiguringLifecycleProcessor extends org.springframework.context.support.DefaultLifecycleProcessor implements ConfigurableLifecycle
  • Field Summary

    Fields inherited from class org.springframework.context.support.DefaultLifecycleProcessor

    CHECKPOINT_PROPERTY_NAME, EXIT_PROPERTY_NAME, ON_REFRESH_VALUE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The ConfigurationDigester may add new Lifecycle beans.
    void
     
    void
     

    Methods inherited from class org.springframework.context.support.DefaultLifecycleProcessor

    getLifecycleBeans, getPhase, isRunning, onClose, setBeanFactory, setTimeoutForShutdownPhase, setTimeoutPerShutdownPhase, setTimeoutsForShutdownPhases, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle

    getPhase, isAutoStartup

    Methods inherited from interface org.springframework.context.Lifecycle

    isRunning, stop

    Methods inherited from interface org.springframework.context.SmartLifecycle

    stop
  • Constructor Details

    • ConfiguringLifecycleProcessor

      public ConfiguringLifecycleProcessor()
  • Method Details

    • configure

      public void configure() throws ConfigurationException
      The ConfigurationDigester may add new Lifecycle beans. Which is why it cannot be a ConfigurableLifecycle itself.
      Specified by:
      configure in interface IConfigurable
      Throws:
      ConfigurationException - in case it was not able to configure the component.
    • onRefresh

      public void onRefresh()
      Specified by:
      onRefresh in interface org.springframework.context.LifecycleProcessor
      Overrides:
      onRefresh in class org.springframework.context.support.DefaultLifecycleProcessor
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
      Overrides:
      start in class org.springframework.context.support.DefaultLifecycleProcessor