Class DocumentationPluginsBootstrapper

  • All Implemented Interfaces:
    org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

    @Component
    @Conditional(SpringIntegrationPluginNotPresentInClassPathCondition.class)
    public class DocumentationPluginsBootstrapper
    extends AbstractDocumentationPluginsBootstrapper
    implements org.springframework.context.SmartLifecycle
    Builds and executes all DocumentationConfigurer instances found in the application context, at the end of all phases in SmartLifecycle .

    If no instances DocumentationConfigurer are found a default one is created and executed.

    • Method Detail

      • isAutoStartup

        public boolean isAutoStartup()
        Specified by:
        isAutoStartup in interface org.springframework.context.SmartLifecycle
      • stop

        public void stop​(java.lang.Runnable callback)
        Specified by:
        stop in interface org.springframework.context.SmartLifecycle
      • start

        public void start()
        Specified by:
        start in interface org.springframework.context.Lifecycle
      • stop

        public void stop()
        Specified by:
        stop in interface org.springframework.context.Lifecycle
      • isRunning

        public boolean isRunning()
        Specified by:
        isRunning in interface org.springframework.context.Lifecycle
      • getPhase

        public int getPhase()
        Specified by:
        getPhase in interface org.springframework.context.Phased
        Specified by:
        getPhase in interface org.springframework.context.SmartLifecycle