org.apache.shiro.session.mgt
Class SimpleSessionFactory
java.lang.Object
org.apache.shiro.session.mgt.SimpleSessionFactory
- All Implemented Interfaces:
- SessionFactory
public class SimpleSessionFactory
- extends Object
- implements SessionFactory
SessionFactory
implementation that generates SimpleSession
instances.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSessionFactory
public SimpleSessionFactory()
createSession
public Session createSession(SessionContext initData)
- Creates a new
SimpleSession
instance retaining the context's
host
if one can be found.
- Specified by:
createSession
in interface SessionFactory
- Parameters:
initData
- the initialization data to be used during Session
creation.
- Returns:
- a new
SimpleSession
instance
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.