Class HandoffExecutorResolver.SimpleResolver

java.lang.Object
org.jboss.as.threads.HandoffExecutorResolver.AbstractThreadFactoryResolver
org.jboss.as.threads.HandoffExecutorResolver.SimpleResolver
All Implemented Interfaces:
HandoffExecutorResolver
Enclosing interface:
HandoffExecutorResolver

public static class HandoffExecutorResolver.SimpleResolver extends HandoffExecutorResolver.AbstractThreadFactoryResolver
Extends HandoffExecutorResolver.AbstractThreadFactoryResolver to deal with named thread factories by appending their simple name to a provided base name.
  • Constructor Details

    • SimpleResolver

      public SimpleResolver(org.jboss.msc.service.ServiceName handoffExecutorServiceNameBase)
  • Method Details

    • resolveNamedHandoffExecutor

      public 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.
      Specified by:
      resolveNamedHandoffExecutor in class HandoffExecutorResolver.AbstractThreadFactoryResolver
      Parameters:
      handoffExecutorName - the simple name of the thread factory. Will not be null
      threadPoolName - the simple name of the related thread pool
      threadPoolServiceName - the full service name of the thread pool
      Returns:
      the ServiceName of the ThreadFactoryService the thread pool should use. Cannot be null