Class ExecutiveSourceContextImpl
- java.lang.Object
-
- net.officefloor.frame.impl.construct.source.SourcePropertiesImpl
-
- net.officefloor.frame.impl.construct.source.SourceContextImpl
-
- net.officefloor.frame.impl.construct.executive.ExecutiveSourceContextImpl
-
- All Implemented Interfaces:
ExecutiveSourceContext,ServiceContext,SourceContext,SourceProperties
public class ExecutiveSourceContextImpl extends SourceContextImpl implements ExecutiveSourceContext
ExecutiveSourceContextimplementation.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXECUTIVE_NAMEName for theExecutive.
-
Constructor Summary
Constructors Constructor Description ExecutiveSourceContextImpl(boolean isLoadingType, SourceContext sourceContext, SourceProperties sourceProperties, ThreadFactoryManufacturer threadFactoryManufacturer)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.ThreadFactorycreateThreadFactory(java.lang.String executionStrategyName, Executive executive)Creates the underlyingThreadFactorythat should be used forExecutionStrategyinstances.-
Methods inherited from class net.officefloor.frame.impl.construct.source.SourceContextImpl
getClassLoader, getClock, getLogger, getName, getOptionalResource, getProfiles, getResource, isLoadingType, loadClass, loadOptionalClass, loadOptionalService, loadOptionalServices, loadService, loadService, loadServices
-
Methods inherited from class net.officefloor.frame.impl.construct.source.SourcePropertiesImpl
addProperty, getProperties, getProperty, getProperty, getPropertyNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Field Detail
-
EXECUTIVE_NAME
public static final java.lang.String EXECUTIVE_NAME
Name for theExecutive.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExecutiveSourceContextImpl
public ExecutiveSourceContextImpl(boolean isLoadingType, SourceContext sourceContext, SourceProperties sourceProperties, ThreadFactoryManufacturer threadFactoryManufacturer)Instantiate.- Parameters:
isLoadingType- Indicates if loading type.sourceContext-SourceContext.sourceProperties-SourceProperties.threadFactoryManufacturer-ThreadFactoryManufacturer.
-
-
Method Detail
-
createThreadFactory
public java.util.concurrent.ThreadFactory createThreadFactory(java.lang.String executionStrategyName, Executive executive)Description copied from interface:ExecutiveSourceContextCreates the underlyingThreadFactorythat should be used forExecutionStrategyinstances.- Specified by:
createThreadFactoryin interfaceExecutiveSourceContext- Parameters:
executionStrategyName- Name of theExecutionStrategyto associateThreadnames to theExecutionStrategy.executive-Executive.- Returns:
ThreadFactoryto use forExecutionStrategyinstances.
-
-