Class TailormapConfig

java.lang.Object
org.tailormap.api.configuration.TailormapConfig

@Configuration @EnableConfigurationProperties @ConfigurationProperties(prefix="tailormap-api") @EnableSseEventBus @EnableScheduling public class TailormapConfig extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    org.springframework.web.servlet.LocaleResolver
     
    setTimeout(int timeout)
     
    ch.rasc.sse.eventbus.SseEventBus
    viewerSseEventBus(@Nullable ch.rasc.sse.eventbus.config.SseEventBusConfigurer configurer, @Nullable tools.jackson.databind.ObjectMapper objectMapper, @Nullable List<ch.rasc.sse.eventbus.DataObjectConverter> dataObjectConverters, @Nullable ch.rasc.sse.eventbus.SubscriptionRegistry subscriptionRegistry, @Nullable ch.rasc.sse.eventbus.ReplayStore replayStore, @Nullable io.micrometer.observation.ObservationRegistry observationRegistry, @Nullable ch.rasc.sse.eventbus.observation.SseEventBusObservationConvention observationConvention, @Nullable ch.rasc.sse.eventbus.DistributedEventBus distributedEventBus)
    Define a new viewer SseEventBus bean for viewer-specific SSE traffic.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TailormapConfig

      public TailormapConfig()
  • Method Details

    • getTimeout

      public int getTimeout()
    • setTimeout

      public TailormapConfig setTimeout(int timeout)
    • localeResolver

      @Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
    • viewerSseEventBus

      @Bean("viewerSseEventBus") public ch.rasc.sse.eventbus.SseEventBus viewerSseEventBus(@Autowired(required=false) @Nullable ch.rasc.sse.eventbus.config.SseEventBusConfigurer configurer, @Autowired(required=false) @Nullable tools.jackson.databind.ObjectMapper objectMapper, @Autowired(required=false) @Nullable List<ch.rasc.sse.eventbus.DataObjectConverter> dataObjectConverters, @Autowired(required=false) @Nullable ch.rasc.sse.eventbus.SubscriptionRegistry subscriptionRegistry, @Autowired(required=false) @Nullable ch.rasc.sse.eventbus.ReplayStore replayStore, @Autowired(required=false) @Nullable io.micrometer.observation.ObservationRegistry observationRegistry, @Autowired(required=false) @Nullable ch.rasc.sse.eventbus.observation.SseEventBusObservationConvention observationConvention, @Autowired(required=false) @Nullable ch.rasc.sse.eventbus.DistributedEventBus distributedEventBus)
      Define a new viewer SseEventBus bean for viewer-specific SSE traffic.
      Returns:
      the viewerSseEventBus instance