Package org.hawaiiframework.async.config
Class AsyncExecutorFactory
java.lang.Object
org.hawaiiframework.async.config.AsyncExecutorFactory
Factory to create executors for the asynchronous execution of methods using the
Async annotation.
This factory creates the executors as defined in the executors section in the async
configuration.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncExecutorFactory(BeanRegistrar registrar, ExecutorConfigurationProperties properties) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate executors from the configured executor properties.Get the executor names.
-
Constructor Details
-
AsyncExecutorFactory
The constructor.- Parameters:
registrar- The bean registrar.properties- The executor properties.
-
-
Method Details
-
createExecutors
public void createExecutors()Create executors from the configured executor properties. -
getExecutorNames
Get the executor names.- Returns:
- The, never
null, executor names.
-