Class 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 Detail

      • AsyncExecutorFactory

        public AsyncExecutorFactory​(BeanRegistrar registrar,
                                    ExecutorConfigurationProperties properties)
        The constructor.
        Parameters:
        registrar - The bean registrar.
        properties - The executor properties.
    • Method Detail

      • createExecutors

        public void createExecutors()
        Create executors from the configured executor properties.
      • getExecutorNames

        public Set<String> getExecutorNames()