Class LibraryConfig

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

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

    Constructors 
    Constructor Description
    LibraryConfig()  
  • Method Summary

    Modifier and Type Method Description
    void configureJCS()  
    java.util.concurrent.ExecutorService getAlpacaExecutor()  
    java.util.concurrent.ExecutorService getDeviceExecutor()  
    org.apache.jcs.JCS getJCSCache()  
    java.util.concurrent.ExecutorService getUserExecutor()  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • configureJCS

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

      @Bean(name="AlpacaExecutor") public java.util.concurrent.ExecutorService getAlpacaExecutor()
    • getUserExecutor

      @Bean(name="UserExecutor") public java.util.concurrent.ExecutorService getUserExecutor()
    • getDeviceExecutor

      @Bean(name="DeviceExecutor") public java.util.concurrent.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