Class DefaultRequestMappingScanEventManager

java.lang.Object
cn.herodotus.engine.oauth2.resource.autoconfigure.scan.DefaultRequestMappingScanEventManager
All Implemented Interfaces:
cn.herodotus.engine.message.core.definition.strategy.ApplicationStrategyEventManager<List<cn.herodotus.engine.message.core.logic.domain.RequestMapping>>, cn.herodotus.engine.message.core.definition.strategy.StrategyEventManager<List<cn.herodotus.engine.message.core.logic.domain.RequestMapping>>, cn.herodotus.engine.message.core.logic.strategy.RequestMappingScanEventManager

@Component public class DefaultRequestMappingScanEventManager extends Object implements cn.herodotus.engine.message.core.logic.strategy.RequestMappingScanEventManager

Description: 自定义 RequestMappingScanManager

Author:
: gengwei.zheng
Date:
: 2022/1/17 0:08
  • Constructor Details

  • Method Details

    • getScanAnnotationClass

      public Class<? extends Annotation> getScanAnnotationClass()
      Specified by:
      getScanAnnotationClass in interface cn.herodotus.engine.message.core.logic.strategy.RequestMappingScanEventManager
    • getDestinationServiceName

      public String getDestinationServiceName()
      Specified by:
      getDestinationServiceName in interface cn.herodotus.engine.message.core.definition.strategy.ApplicationStrategyEventManager<List<cn.herodotus.engine.message.core.logic.domain.RequestMapping>>
    • postLocalStorage

      public void postLocalStorage(List<cn.herodotus.engine.message.core.logic.domain.RequestMapping> requestMappings)
      Specified by:
      postLocalStorage in interface cn.herodotus.engine.message.core.logic.strategy.RequestMappingScanEventManager
    • postLocalProcess

      public void postLocalProcess(List<cn.herodotus.engine.message.core.logic.domain.RequestMapping> data)
      Specified by:
      postLocalProcess in interface cn.herodotus.engine.message.core.definition.strategy.StrategyEventManager<List<cn.herodotus.engine.message.core.logic.domain.RequestMapping>>
    • postRemoteProcess

      public void postRemoteProcess(String data, String originService, String destinationService)
      Specified by:
      postRemoteProcess in interface cn.herodotus.engine.message.core.definition.strategy.StrategyEventManager<List<cn.herodotus.engine.message.core.logic.domain.RequestMapping>>