Package org.hawaiiframework.async.config
Class AsyncExecutorFactory
- java.lang.Object
-
- org.hawaiiframework.async.config.AsyncExecutorFactory
-
public class AsyncExecutorFactory extends Object
Factory to create executors for the asynchronous execution of methods using the @Async
annotation. This factory creates the executors as defined in the section in the async configuration.- Since:
- 3.0.0
- Author:
- Rutger Lubbers, Paul Klos
-
-
Constructor Summary
Constructors Constructor Description AsyncExecutorFactory(BeanRegistrar registrar, ExecutorConfigurationProperties properties)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createExecutors()
Create executors from the configured executor properties.Set<String>
getExecutorNames()
-
-
-
Constructor Detail
-
AsyncExecutorFactory
public AsyncExecutorFactory(BeanRegistrar registrar, ExecutorConfigurationProperties properties)
The constructor.- Parameters:
registrar
- The bean registrar.properties
- The executor properties.
-
-