Class LibraryConfig

java.lang.Object
co.ecg.alpaca.toolkit.LibraryConfig

@SpringBootApplication(scanBasePackages="co.ecg.alpaca.toolkit") @Configuration @EnableConfigurationProperties(LibraryProperties.class) public class LibraryConfig extends Object
  • Constructor Details

    • LibraryConfig

      public LibraryConfig()
  • Method Details

    • configureJCS

      @PostConstruct public void configureJCS() throws IOException, AlpacaException
      Throws:
      IOException
      AlpacaException
    • getAlpacaExecutor

      @Bean(name="AlpacaExecutor") public ExecutorService getAlpacaExecutor()
    • getUserExecutor

      @Bean(name="UserExecutor") public ExecutorService getUserExecutor()
    • getDeviceExecutor

      @Bean(name="DeviceExecutor") public ExecutorService getDeviceExecutor()
    • getJCSCache

      @Bean @Scope("prototype") public org.apache.jcs.JCS getJCSCache() throws org.apache.jcs.access.exception.CacheException
      Throws:
      org.apache.jcs.access.exception.CacheException