org.apache.shiro.guice.aop
Class ShiroAopModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.apache.shiro.guice.aop.ShiroAopModule
All Implemented Interfaces:
com.google.inject.Module

public class ShiroAopModule
extends com.google.inject.AbstractModule

Install this module to enable Shiro AOP functionality in Guice. You may extend it to add your own Shiro interceptors, override the default ones, or provide a specific AnnotationResolver.


Constructor Summary
ShiroAopModule()
           
 
Method Summary
protected  void bindShiroInterceptor(AnnotationMethodInterceptor methodInterceptor)
           
protected  void configure()
           
protected  void configureDefaultInterceptors(AnnotationResolver resolver)
           
protected  void configureInterceptors(AnnotationResolver resolver)
           
protected  AnnotationResolver createAnnotationResolver()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShiroAopModule

public ShiroAopModule()
Method Detail

configure

protected final void configure()
Specified by:
configure in class com.google.inject.AbstractModule

bindShiroInterceptor

protected final void bindShiroInterceptor(AnnotationMethodInterceptor methodInterceptor)

createAnnotationResolver

protected AnnotationResolver createAnnotationResolver()

configureDefaultInterceptors

protected void configureDefaultInterceptors(AnnotationResolver resolver)

configureInterceptors

protected void configureInterceptors(AnnotationResolver resolver)


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