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:
-
WebEndpointMappingRegistry
WebEventPublisher
AbstractSmartLifecycle
-
Field Summary
Fields inherited from class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
DEFAULT_PHASE, EARLIEST_PHASE, LATEST_PHASE
-
Constructor Summary
ConstructorsConstructorDescriptionWebEndpointMappingRegistrar
(org.springframework.web.context.WebApplicationContext context) -
Method Summary
Methods inherited from class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
getPhase, isAutoStartup, isRunning, isStarted, setPhase, setStarted, start, stop, stop
-
Constructor Details
-
WebEndpointMappingRegistrar
public WebEndpointMappingRegistrar(org.springframework.web.context.WebApplicationContext context)
-
-
Method Details
-
doStart
protected void doStart()- Specified by:
doStart
in classio.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
-
doStop
protected void doStop()- Specified by:
doStop
in classio.microsphere.spring.context.lifecycle.AbstractSmartLifecycle
-