Class LeaderFollowerTeamSource
- java.lang.Object
-
- net.officefloor.frame.api.team.source.impl.AbstractTeamSource
-
- net.officefloor.frame.impl.spi.team.LeaderFollowerTeamSource
-
- All Implemented Interfaces:
TeamSource
public class LeaderFollowerTeamSource extends AbstractTeamSource
TeamSourcefor aLeaderFollowerTeam.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.frame.api.team.source.impl.AbstractTeamSource
AbstractTeamSource.SpecificationContext
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_THREAD_PRIORITYDefaultThreadpriority.static java.lang.StringPROPERTY_THREAD_PRIORITYProperty to specify the workerThreadpriority.
-
Constructor Summary
Constructors Constructor Description LeaderFollowerTeamSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamcreateTeam(TeamSourceContext context)Creates theTeam.protected voidloadSpecification(AbstractTeamSource.SpecificationContext context)Overridden to load specification.-
Methods inherited from class net.officefloor.frame.api.team.source.impl.AbstractTeamSource
getSpecification
-
-
-
-
Field Detail
-
PROPERTY_THREAD_PRIORITY
public static final java.lang.String PROPERTY_THREAD_PRIORITY
Property to specify the workerThreadpriority.- See Also:
- Constant Field Values
-
DEFAULT_THREAD_PRIORITY
public static final int DEFAULT_THREAD_PRIORITY
DefaultThreadpriority.- See Also:
- Constant Field Values
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractTeamSource.SpecificationContext context)
Description copied from class:AbstractTeamSourceOverridden to load specification.- Specified by:
loadSpecificationin classAbstractTeamSource- Parameters:
context-AbstractTeamSource.SpecificationContext.
-
createTeam
public Team createTeam(TeamSourceContext context) throws java.lang.Exception
Description copied from interface:TeamSourceCreates theTeam.- Parameters:
context-TeamSourceContext.- Returns:
Team.- Throws:
java.lang.Exception- If fails to configure theTeamSource.
-
-