Class WebEventPublisher

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULT_PHASE  
      • Fields inherited from class io.microsphere.spring.context.lifecycle.AbstractSmartLifecycle

        EARLIEST_PHASE, LATEST_PHASE
    • Constructor Summary

      Constructors 
      Constructor Description
      WebEventPublisher​(org.springframework.context.ApplicationContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeExecute​(org.springframework.web.method.HandlerMethod handlerMethod, java.lang.Object[] args, org.springframework.web.context.request.NativeWebRequest request)
      Interception point before the execution of a HandlerMethod.
      protected void doStart()  
      protected void doStop()  
      • 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 Detail

      • WebEventPublisher

        public WebEventPublisher​(org.springframework.context.ApplicationContext context)
    • Method Detail

      • beforeExecute

        public void beforeExecute​(org.springframework.web.method.HandlerMethod handlerMethod,
                                  java.lang.Object[] args,
                                  org.springframework.web.context.request.NativeWebRequest request)
        Description copied from interface: HandlerMethodInterceptor
        Interception point before the execution of a HandlerMethod. Called after HandlerMapping determined an appropriate handler object, but before HandlerAdapter invokes the handler.
        Specified by:
        beforeExecute in interface HandlerMethodInterceptor
        Parameters:
        handlerMethod - HandlerMethod
        args - the resolved arguments of HandlerMethod
        request - WebRequest
      • 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