Package co.ecg.alpaca.toolkit
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()
-
Constructor Details
-
LibraryConfig
public LibraryConfig()
-
-
Method Details
-
configureJCS
- 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
-