spring-framework / org.springframework.scheduling.concurrent / ScheduledExecutorFactoryBean / setExposeUnconfigurableExecutor

setExposeUnconfigurableExecutor

open fun setExposeUnconfigurableExecutor(exposeUnconfigurableExecutor: Boolean): Unit

Specify whether this FactoryBean should expose an unconfigurable decorator for the created executor.

Default is "false", exposing the raw executor as bean reference. Switch this flag to "true" to strictly prevent clients from modifying the executor's configuration.

See Also
java.util.concurrent.Executors#unconfigurableScheduledExecutorService