net.sf.farrago.test
Class FarragoTestPersonalityFactory
java.lang.Object
net.sf.farrago.test.FarragoTestPersonalityFactory
- All Implemented Interfaces:
- FarragoSessionPersonalityFactory
public class FarragoTestPersonalityFactory
- extends Object
- implements FarragoSessionPersonalityFactory
FarragoTestPersonalityFactory implements the FarragoSessionPersonalityFactory
interface with some tweaks just for
testing.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/test/FarragoTestPersonalityFactory.java#9 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FarragoTestPersonalityFactory
public FarragoTestPersonalityFactory()
newSessionPersonality
public FarragoSessionPersonality newSessionPersonality(FarragoSession session,
FarragoSessionPersonality defaultPersonality)
- Description copied from interface:
FarragoSessionPersonalityFactory
- Creates a new session personality.
- Specified by:
newSessionPersonality
in interface FarragoSessionPersonalityFactory
- Parameters:
session
- session for which personality is being created; note that
the personality may be used for other sessions as well, so no reference
to this session should be retaineddefaultPersonality
- a default personality to which the new
personality may delegate, or null if no default is available
- Returns:
- personality