Interface ExecutiveSourceContext
-
- All Superinterfaces:
SourceContext
,SourceProperties
- All Known Implementing Classes:
ExecutiveSourceContextImpl
public interface ExecutiveSourceContext extends SourceContext
Context for theExecutiveSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.ThreadFactory
createThreadFactory(java.lang.String executionStrategyName, Executive executive)
Creates the underlyingThreadFactory
that should be used forExecutionStrategy
instances.-
Methods inherited from interface net.officefloor.frame.api.source.SourceContext
getClassLoader, getClock, getLogger, getName, getOptionalResource, getProfiles, getResource, isLoadingType, loadClass, loadOptionalClass, loadOptionalService, loadOptionalServices, loadService, loadService, loadServices
-
Methods inherited from interface net.officefloor.frame.api.source.SourceProperties
getProperties, getProperty, getProperty, getPropertyNames
-
-
-
-
Method Detail
-
createThreadFactory
java.util.concurrent.ThreadFactory createThreadFactory(java.lang.String executionStrategyName, Executive executive)
Creates the underlyingThreadFactory
that should be used forExecutionStrategy
instances.- Parameters:
executionStrategyName
- Name of theExecutionStrategy
to associateThread
names to theExecutionStrategy
.executive
-Executive
.- Returns:
ThreadFactory
to use forExecutionStrategy
instances.
-
-