Class ShiroAopModule
java.lang.Object
com.google.inject.AbstractModule
org.apache.shiro.guice.aop.ShiroAopModule
- All Implemented Interfaces:
com.google.inject.Module
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidbindShiroInterceptor(org.apache.shiro.aop.AnnotationMethodInterceptor methodInterceptor) protected final voidprotected voidconfigureDefaultInterceptors(org.apache.shiro.aop.AnnotationResolver resolver) protected voidconfigureInterceptors(org.apache.shiro.aop.AnnotationResolver resolver) protected org.apache.shiro.aop.AnnotationResolverMethods 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
-
Constructor Details
-
ShiroAopModule
public ShiroAopModule()
-
-
Method Details
-
configure
- Overrides:
configurein classcom.google.inject.AbstractModule
-
bindShiroInterceptor
protected final void bindShiroInterceptor(org.apache.shiro.aop.AnnotationMethodInterceptor methodInterceptor) -
createAnnotationResolver
-
configureDefaultInterceptors
-
configureInterceptors
-