net.officefloor.frame.impl.spi.team
Class OnePersonTeamSource

java.lang.Object
  extended by net.officefloor.frame.spi.team.source.impl.AbstractTeamSource
      extended by net.officefloor.frame.impl.spi.team.OnePersonTeamSource
All Implemented Interfaces:
TeamSource

public class OnePersonTeamSource
extends AbstractTeamSource

TeamSource for the OnePersonTeam.

Author:
Daniel Sagenschneider

Nested Class Summary
 
Nested classes/interfaces inherited from class net.officefloor.frame.spi.team.source.impl.AbstractTeamSource
AbstractTeamSource.SpecificationContext
 
Field Summary
static String MAX_WAIT_TIME_PROPERTY_NAME
          Property name of the max wait time in milliseconds.
 
Constructor Summary
OnePersonTeamSource()
           
 
Method Summary
 Team createTeam(TeamSourceContext context)
          Creates the Team.
protected  void loadSpecification(AbstractTeamSource.SpecificationContext context)
          Overridden to load specification.
 
Methods inherited from class net.officefloor.frame.spi.team.source.impl.AbstractTeamSource
getSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_WAIT_TIME_PROPERTY_NAME

public static final String MAX_WAIT_TIME_PROPERTY_NAME
Property name of the max wait time in milliseconds.

See Also:
Constant Field Values
Constructor Detail

OnePersonTeamSource

public OnePersonTeamSource()
Method Detail

loadSpecification

protected void loadSpecification(AbstractTeamSource.SpecificationContext context)
Description copied from class: AbstractTeamSource
Overridden to load specification.

Specified by:
loadSpecification in class AbstractTeamSource
Parameters:
context - AbstractTeamSource.SpecificationContext.

createTeam

public Team createTeam(TeamSourceContext context)
                throws Exception
Description copied from interface: TeamSource
Creates the Team.

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


Copyright © 2005-2013. All Rights Reserved.