Class WorkerPoolRegistry
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.connectors.WorkerPoolRegistry
-
@ApplicationScoped public class WorkerPoolRegistry extends Object
-
-
Constructor Summary
Constructors Constructor Description WorkerPoolRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> void
analyzeWorker(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType)
void
defineWorker(String className, String method, String poolName)
<T> io.smallrye.mutiny.Uni<T>
executeWork(io.smallrye.mutiny.Uni<T> uni, String workerName, boolean ordered)
void
init()
void
terminate(Object event)
-
-
-
Method Detail
-
terminate
public void terminate(@Observes(notifyObserver=IF_EXISTS) @Priority(100) @BeforeDestroyed(javax.enterprise.context.ApplicationScoped.class) Object event)
-
init
@PostConstruct public void init()
-
executeWork
public <T> io.smallrye.mutiny.Uni<T> executeWork(io.smallrye.mutiny.Uni<T> uni, String workerName, boolean ordered)
-
analyzeWorker
public <T> void analyzeWorker(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType)
-
-