Class 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 Detail

      • ShiroAopModule

        public ShiroAopModule()
    • Method Detail

      • 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)