Class ForkJoinPoolConfiguration
- java.lang.Object
-
- guru.qas.martini.spring.standalone.configuration.ForkJoinPoolConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.context.ApplicationContextAware
@Configuration @Lazy public class ForkJoinPoolConfiguration extends java.lang.Object implements org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAMEprotected org.springframework.beans.factory.config.AutowireCapableBeanFactorybeanFactoryprotected java.lang.Thread.UncaughtExceptionHandlerexceptionHandlerprotected java.util.concurrent.ForkJoinPoolforkJoinPoolprotected static org.slf4j.LoggerLOGGERprotected Optionsoptions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Field Detail
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
BEAN_NAME
public static final java.lang.String BEAN_NAME
- See Also:
- Constant Field Values
-
options
protected final Options options
-
exceptionHandler
protected final java.lang.Thread.UncaughtExceptionHandler exceptionHandler
-
beanFactory
protected org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory
-
forkJoinPool
protected java.util.concurrent.ForkJoinPool forkJoinPool
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
destroy
public void destroy() throws java.lang.InterruptedException- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
java.lang.InterruptedException
-
-