Package org.apache.shiro.guice.aop
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.AbstractModuleInstall 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 specificAnnotationResolver.
-
-
Constructor Summary
Constructors Constructor Description ShiroAopModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbindShiroInterceptor(org.apache.shiro.aop.AnnotationMethodInterceptor methodInterceptor)protected voidconfigure()protected voidconfigureDefaultInterceptors(org.apache.shiro.aop.AnnotationResolver resolver)protected voidconfigureInterceptors(org.apache.shiro.aop.AnnotationResolver resolver)protected org.apache.shiro.aop.AnnotationResolvercreateAnnotationResolver()-
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
-
-
-
-
Method Detail
-
configure
protected final void configure()
- Overrides:
configurein classcom.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)
-
-