org.apache.shiro.session.mgt
Class SimpleSessionFactory

java.lang.Object
  extended by 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

Constructor Summary
SimpleSessionFactory()
           
 
Method Summary
 Session createSession(SessionContext initData)
          Creates a new SimpleSession instance retaining the context's host if one can be found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSessionFactory

public SimpleSessionFactory()
Method Detail

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.