Class ThreadLocalAwareTeamSource
- java.lang.Object
-
- net.officefloor.frame.api.team.source.impl.AbstractTeamSource
-
- net.officefloor.frame.impl.spi.team.ThreadLocalAwareTeamSource
-
- All Implemented Interfaces:
TeamSource
public class ThreadLocalAwareTeamSource extends AbstractTeamSource
TeamSourcefor theThreadLocalAwareTeam.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.frame.api.team.source.impl.AbstractTeamSource
AbstractTeamSource.SpecificationContext
-
-
Constructor Summary
Constructors Constructor Description ThreadLocalAwareTeamSource()
-
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
-
-
-
-
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.
-
-