All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.digitalcollections.iiif.hymir.config.SpringConfig Maven / Gradle / Ivy

Go to download

Hymir is a Java based IIIF Server. It is based on "IIIF API Java Libraries" (Java implementations of the IIIF specifications, see https://github.com/dbmdz/iiif-apis).

There is a newer version: 5.1.13
Show newest version
package de.digitalcollections.iiif.hymir.config;

import de.digitalcollections.iiif.model.jackson.IiifObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

@ComponentScan(basePackages = {
  "de.digitalcollections.commons.springboot.actuator",
  "de.digitalcollections.commons.springboot.contributor",
  "de.digitalcollections.commons.springboot.metrics",
  "de.digitalcollections.commons.springboot.monitoring"
})
@Configuration
public class SpringConfig {

  @Bean
  @Primary
  public IiifObjectMapper objectMapper() {
    return new IiifObjectMapper();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy