类 ResponseExcelAutoConfiguration

java.lang.Object
com.sie.mbm.mom.framework.excel.ResponseExcelAutoConfiguration
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@AutoConfiguration @Import(ExcelHandlerConfiguration.class) @EnableConfigurationProperties(ExcelConfigProperties.class) public class ResponseExcelAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware

配置初始化

  • 字段详细资料

    • requestMappingHandlerAdapter

      private final org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter requestMappingHandlerAdapter
    • responseExcelReturnValueHandler

      private final ResponseExcelReturnValueHandler responseExcelReturnValueHandler
    • applicationContext

      private org.springframework.context.ApplicationContext applicationContext
  • 构造器详细资料

    • ResponseExcelAutoConfiguration

      public ResponseExcelAutoConfiguration()
  • 方法详细资料

    • nameProcessor

      @Bean @ConditionalOnMissingBean public NameProcessor nameProcessor()
      SPEL 解析处理器
      返回:
      NameProcessor excel名称解析器
    • dynamicNameAspect

      @Bean @ConditionalOnMissingBean public DynamicNameAspect dynamicNameAspect(NameProcessor nameProcessor)
      Excel名称解析处理切面
      参数:
      nameProcessor - SPEL 解析处理器
      返回:
      DynamicNameAspect
    • setReturnValueHandlers

      @PostConstruct public void setReturnValueHandlers()
      追加 Excel返回值处理器 到 springmvc 中
    • setRequestExcelArgumentResolver

      @PostConstruct public void setRequestExcelArgumentResolver()
      追加 Excel 请求处理器 到 springmvc 中
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object.

      Invoked after population of normal bean properties but before an init callback such as InitializingBean.afterPropertiesSet() or a custom init-method. Invoked after

      引用无效
      ResourceLoaderAware#setResourceLoader
      ,
      引用无效
      ApplicationEventPublisherAware#setApplicationEventPublisher
      and
      引用无效
      MessageSourceAware
      , if applicable.
      指定者:
      setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
      参数:
      applicationContext - the ApplicationContext object to be used by this object
      另请参阅:
      • BeanInitializationException