Class WebEndpointMappingRegistrar

java.lang.Object
io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
io.microsphere.spring.webmvc.metadata.WebEndpointMappingRegistrar
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class WebEndpointMappingRegistrar extends io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
The class registers all instances of WebEndpointMapping that are collected from Spring Web MVC and Servlet components into WebEndpointMappingRegistry before WebEventPublisher publishing the WebEndpointMappingsReadyEvent
Since:
1.0.0
Author:
Mercy
See Also:
  • Field Summary

    Fields inherited from class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle

    DEFAULT_PHASE, EARLIEST_PHASE, LATEST_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebEndpointMappingRegistrar(org.springframework.web.context.WebApplicationContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     

    Methods inherited from class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle

    getPhase, isAutoStartup, isRunning, isStarted, setPhase, setStarted, start, stop, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebEndpointMappingRegistrar

      public WebEndpointMappingRegistrar(org.springframework.web.context.WebApplicationContext context)
  • Method Details

    • doStart

      protected void doStart()
      Specified by:
      doStart in class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
    • doStop

      protected void doStop()
      Specified by:
      doStop in class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle