Class RepositoryServiceSpringConfig

java.lang.Object
org.lockss.laaws.rs.configuration.RepositoryServiceSpringConfig

@Configuration public class RepositoryServiceSpringConfig extends Object
Spring configuration beans for the Spring-implementation of the LOCKSS Repository Service.
  • Field Details

    • PARAM_MULTIPART_MAX_IN_MEMORY_SIZE

      public static String PARAM_MULTIPART_MAX_IN_MEMORY_SIZE
      Max size of in-memory buffering of multipart requests
    • DEFAULT_MULTIPART_UPLOAD_DIR

      public static String DEFAULT_MULTIPART_UPLOAD_DIR
    • PARAM_MULTIPART_UPLOAD_DIR

      public static String PARAM_MULTIPART_UPLOAD_DIR
    • DEFAULT_MULTIPART_MAX_IN_MEMORY_SIZE

      public static final int DEFAULT_MULTIPART_MAX_IN_MEMORY_SIZE
      See Also:
  • Constructor Details

    • RepositoryServiceSpringConfig

      public RepositoryServiceSpringConfig()
  • Method Details

    • multipartResolver

      @Bean public LockssMultipartResolver multipartResolver(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.MultipartProperties> multipartPropsProvider)
    • configMgrCreated

      @EventListener public void configMgrCreated(org.lockss.config.ConfigManager.ConfigManagerCreatedEvent event)