net.sf.farrago.session
Interface FarragoSessionPersonalityFactory
- All Known Subinterfaces:
- FarragoSessionFactory
- All Known Implementing Classes:
- FarragoAutoCalcRulesTest.TestDbSessionFactory, FarragoDbSessionFactory, FarragoDefaultSessionFactory, FarragoMiniplanPersonalityFactory, FarragoPlannervizPluginFactory, FarragoRngPluginFactory, FarragoTestPersonalityFactory, FarragoVolcanoPersonalityFactory, LucidDbIndexOnlySessionFactory, LucidDbSessionFactory
public interface FarragoSessionPersonalityFactory
FarragoSessionPersonalityFactory defines a factory interface for creating
instances of FarragoSessionPersonality
.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/session/FarragoSessionPersonalityFactory.java#7 $
- Author:
- John V. Sichi
newSessionPersonality
FarragoSessionPersonality newSessionPersonality(FarragoSession session,
FarragoSessionPersonality defaultPersonality)
- Creates a new session personality.
- 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