Class MockManagedThreadFactory

java.lang.Object
fr.paris.lutece.test.mocks.MockManagedThreadFactory
All Implemented Interfaces:
jakarta.enterprise.concurrent.ManagedThreadFactory, ForkJoinPool.ForkJoinWorkerThreadFactory, ThreadFactory

@ApplicationScoped @Alternative @Priority(10) public class MockManagedThreadFactory extends Object implements jakarta.enterprise.concurrent.ManagedThreadFactory
Stands for a container-provided ManagedThreadFactory when under java SE. Contrary to other (application defined) beans, this mock is @ApplicationScoped because it is always needed, and because it does not actually replace another app bean.