com.lucidera.farrago
Class LucidDbSessionFactory
java.lang.Object
net.sf.farrago.db.FarragoDbSessionFactory
net.sf.farrago.defimpl.FarragoDefaultSessionFactory
com.lucidera.farrago.LucidDbSessionFactory
- All Implemented Interfaces:
- FarragoSessionFactory, FarragoSessionPersonalityFactory
- Direct Known Subclasses:
- LucidDbIndexOnlySessionFactory
public class LucidDbSessionFactory
- extends FarragoDefaultSessionFactory
LucidDbSessionFactory extends FarragoDbSessionFactory
with
LucidDB-specific behavior.
- Version:
- $Id: //open/dev/farrago/src/com/lucidera/farrago/LucidDbSessionFactory.java#10 $
- Author:
- John V. Sichi
Methods inherited from class net.sf.farrago.db.FarragoDbSessionFactory |
cleanupSessions, defineResourceBundles, getPluginClassLoader, newFennelCmdExecutor, newFennelTxnContext, newModelExtension, newReentrantSession, newRepos, releaseReentrantSession, setPluginClassLoader, specializedInitialization, specializedShutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LucidDbSessionFactory
public LucidDbSessionFactory()
newSessionPersonality
public FarragoSessionPersonality newSessionPersonality(FarragoSession session,
FarragoSessionPersonality defaultPersonality)
- Description copied from interface:
FarragoSessionPersonalityFactory
- Creates a new session personality.
- Specified by:
newSessionPersonality
in interface FarragoSessionPersonalityFactory
- Overrides:
newSessionPersonality
in class FarragoDefaultSessionFactory
- 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
applyFennelExtensionParameters
public void applyFennelExtensionParameters(Properties map)
- Description copied from interface:
FarragoSessionFactory
- Allows extensions of Farrago to add their own parameters to the Fennel
configuration parameters.
- Specified by:
applyFennelExtensionParameters
in interface FarragoSessionFactory
- Overrides:
applyFennelExtensionParameters
in class FarragoDbSessionFactory
- Parameters:
map
- a non-null, modifiable Map where configuration parameters can
newTxnMgr
public FarragoSessionTxnMgr newTxnMgr()
- Specified by:
newTxnMgr
in interface FarragoSessionFactory
- Overrides:
newTxnMgr
in class FarragoDbSessionFactory
- Returns:
- a new transaction manager