类 RequestHandlerRegistry

  • 所有已实现的接口:
    java.util.EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

    @Service
    public class RequestHandlerRegistry
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
    RequestHandlerRegistry.
    版本:
    $Id: RequestHandlerRegistry.java, v 0.1 2020年07月13日 8:24 PM liuzunfei Exp $
    作者:
    liuzunfei
    • 字段详细资料

      • registryHandlers

        java.util.Map<java.lang.String,​RequestHandler> registryHandlers
    • 构造器详细资料

      • RequestHandlerRegistry

        public RequestHandlerRegistry()
    • 方法详细资料

      • getByRequestType

        public RequestHandler getByRequestType​(java.lang.String requestType)
        Get Request Handler By request Type.
        参数:
        requestType - see definitions of sub constants classes of RequestTypeConstants
        返回:
        request handler.
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>