net.sf.farrago.rng
Class FarragoRngPluginFactory
java.lang.Object
net.sf.farrago.rng.FarragoRngPluginFactory
- All Implemented Interfaces:
- FarragoSessionModelExtensionFactory, FarragoSessionPersonalityFactory
public class FarragoRngPluginFactory
- extends Object
- implements FarragoSessionPersonalityFactory, FarragoSessionModelExtensionFactory
FarragoRngPluginFactory implements the
FarragoSessionPersonalityFactory
interface by producing
session personality instances capable of understanding RNG DDL statements.
- Version:
- $Id: //open/dev/farrago/examples/rng/src/net/sf/farrago/rng/FarragoRngPluginFactory.java#9 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
res
public static final FarragoRngResource res
FarragoRngPluginFactory
public FarragoRngPluginFactory()
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
newModelExtension
public FarragoSessionModelExtension newModelExtension()
- Description copied from interface:
FarragoSessionModelExtensionFactory
- Creates a new model extension.
- Specified by:
newModelExtension
in interface FarragoSessionModelExtensionFactory
- Returns:
- model extension