net.officefloor.frame.spi.team.source
Interface TeamSource

All Known Implementing Classes:
AbstractExecutorTeamSource, AbstractTeamSource, ExecutorCachedTeamSource, ExecutorFixedTeamSource, LeaderFollowerTeamSource, MockTeamSource, OnePersonTeamSource, PassiveTeamSource, ProcessContextTeamSource, WorkerPerTaskTeamSource

public interface TeamSource

Source to obtain Team instances.

Author:
Daniel Sagenschneider

Method Summary
 Team createTeam(TeamSourceContext context)
          Creates the Team.
 TeamSourceSpecification getSpecification()
           Obtains the specification for this.
 

Method Detail

getSpecification

TeamSourceSpecification getSpecification()

Obtains the specification for this.

This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation.

Returns:
Specification of this.

createTeam

Team createTeam(TeamSourceContext context)
                throws Exception
Creates the Team.

Parameters:
context - TeamSourceContext.
Returns:
Team.
Throws:
Exception - If fails to configure the TeamSource.


Copyright © 2005-2013. All Rights Reserved.