org.apache.shiro.guice
Class ShiroSessionScope

java.lang.Object
  extended by org.apache.shiro.guice.ShiroSessionScope
All Implemented Interfaces:
com.google.inject.Scope

public class ShiroSessionScope
extends Object
implements com.google.inject.Scope

Guice scope for Shiro sessions. Not bound by default.


Constructor Summary
ShiroSessionScope()
           
 
Method Summary
<T> com.google.inject.Provider<T>
scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShiroSessionScope

public ShiroSessionScope()
Method Detail

scope

public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key,
                                               com.google.inject.Provider<T> unscoped)
Specified by:
scope in interface com.google.inject.Scope

toString

public String toString()
Specified by:
toString in interface com.google.inject.Scope
Overrides:
toString in class Object


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.