Class ShiroAopModule

java.lang.Object
com.google.inject.AbstractModule
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final void
    bindShiroInterceptor(org.apache.shiro.aop.AnnotationMethodInterceptor methodInterceptor)
     
    protected final void
     
    protected void
    configureDefaultInterceptors(org.apache.shiro.aop.AnnotationResolver resolver)
     
    protected void
    configureInterceptors(org.apache.shiro.aop.AnnotationResolver resolver)
     
    protected org.apache.shiro.aop.AnnotationResolver
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, 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 Details

  • Method Details

    • configure

      protected final void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule
    • bindShiroInterceptor

      protected final void bindShiroInterceptor(org.apache.shiro.aop.AnnotationMethodInterceptor methodInterceptor)
    • createAnnotationResolver

      protected org.apache.shiro.aop.AnnotationResolver createAnnotationResolver()
    • configureDefaultInterceptors

      protected void configureDefaultInterceptors(org.apache.shiro.aop.AnnotationResolver resolver)
    • configureInterceptors

      protected void configureInterceptors(org.apache.shiro.aop.AnnotationResolver resolver)