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
ExecutiveSourceContext implementation.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutiveSourceContextImpl(boolean isLoadingType, SourceContext sourceContext, SourceProperties sourceProperties, ThreadFactoryManufacturer threadFactoryManufacturer) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptioncreateThreadFactory(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, loadServicesMethods inherited from class net.officefloor.frame.impl.construct.source.SourcePropertiesImpl
addProperty, getProperties, getProperty, getProperty, getPropertyNamesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.officefloor.frame.api.source.SourceContext
getClassLoader, getClock, getLogger, getName, getOptionalResource, getProfiles, getResource, isLoadingType, loadClass, loadOptionalClass, loadOptionalService, loadOptionalServices, loadService, loadService, loadServicesMethods inherited from interface net.officefloor.frame.api.source.SourceProperties
getProperties, getProperty, getProperty, getPropertyNames
-
Field Details
-
EXECUTIVE_NAME
Name for theExecutive.- See Also:
-
-
Constructor Details
-
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 Details
-
createThreadFactory
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.
-