public class SimpleSessionFactory extends Object implements SessionFactory
SessionFactory implementation that generates SimpleSession instances.| Constructor and Description |
|---|
SimpleSessionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Session |
createSession(SessionContext initData)
Creates a new
SimpleSession instance retaining the context's
host if one can be found. |
public Session createSession(SessionContext initData)
SimpleSession instance retaining the context's
host if one can be found.createSession in interface SessionFactoryinitData - the initialization data to be used during Session creation.SimpleSession instanceCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.