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
TeamSource
for 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 Team
createTeam(TeamSourceContext context)
Creates theTeam
.protected void
loadSpecification(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:AbstractTeamSource
Overridden to load specification.- Specified by:
loadSpecification
in classAbstractTeamSource
- Parameters:
context
-AbstractTeamSource.SpecificationContext
.
-
createTeam
public Team createTeam(TeamSourceContext context) throws java.lang.Exception
Description copied from interface:TeamSource
Creates theTeam
.- Parameters:
context
-TeamSourceContext
.- Returns:
Team
.- Throws:
java.lang.Exception
- If fails to configure theTeamSource
.
-
-