public static class ThreadFactoryResolver.SimpleResolver extends ThreadFactoryResolver.AbstractThreadFactoryResolver
ThreadFactoryResolver.AbstractThreadFactoryResolver to deal with named thread factories by appending their
simple name to a provided base name.ThreadFactoryResolver.AbstractThreadFactoryResolver, ThreadFactoryResolver.SimpleResolver| Constructor and Description |
|---|
SimpleResolver(org.jboss.msc.service.ServiceName threadFactoryServiceNameBase) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceName |
resolveNamedThreadFactory(String threadFactoryName,
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.
|
getThreadGroupName, releaseNamedThreadFactory, releaseThreadFactory, resolveThreadFactorypublic SimpleResolver(org.jboss.msc.service.ServiceName threadFactoryServiceNameBase)
public org.jboss.msc.service.ServiceName resolveNamedThreadFactory(String threadFactoryName, String threadPoolName, org.jboss.msc.service.ServiceName threadPoolServiceName)
ThreadFactoryResolver.AbstractThreadFactoryResolverresolveNamedThreadFactory in class ThreadFactoryResolver.AbstractThreadFactoryResolverthreadFactoryName - the simple name of the thread factory. Will not be nullthreadPoolName - 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
nullCopyright © 2019 JBoss by Red Hat. All rights reserved.