public static class HandoffExecutorResolver.SimpleResolver extends HandoffExecutorResolver.AbstractThreadFactoryResolver
HandoffExecutorResolver.AbstractThreadFactoryResolver
to deal with named thread factories by appending their
simple name to a provided base name.HandoffExecutorResolver.AbstractThreadFactoryResolver, HandoffExecutorResolver.SimpleResolver
STANDARD_RESOLVER
Constructor and Description |
---|
SimpleResolver(org.jboss.msc.service.ServiceName handoffExecutorServiceNameBase) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceName |
resolveNamedHandoffExecutor(String handoffExecutorName,
String threadPoolName,
org.jboss.msc.service.ServiceName threadPoolServiceName)
Create a service name to use for the thread factory in the case where a simple name for the factory was provided.
|
releaseDefaultHandoffExecutor, releaseHandoffExecutor, releaseNamedHandoffExecutor, resolveDefaultHandoffExecutor, resolveHandoffExecutor
public SimpleResolver(org.jboss.msc.service.ServiceName handoffExecutorServiceNameBase)
public org.jboss.msc.service.ServiceName resolveNamedHandoffExecutor(String handoffExecutorName, String threadPoolName, org.jboss.msc.service.ServiceName threadPoolServiceName)
HandoffExecutorResolver.AbstractThreadFactoryResolver
resolveNamedHandoffExecutor
in class HandoffExecutorResolver.AbstractThreadFactoryResolver
handoffExecutorName
- the simple name of the thread factory. Will not be null
threadPoolName
- the simple name of the related thread poolthreadPoolServiceName
- the full service name of the thread poolServiceName
of the ThreadFactoryService
the thread pool should use. Cannot be
null
Copyright © 2023 JBoss by Red Hat. All rights reserved.