Class LockModule
java.lang.Object
com.google.inject.AbstractModule
io.github.devlibx.easy.lock.module.LockModule
- All Implemented Interfaces:
com.google.inject.Module
public abstract class LockModule
extends com.google.inject.AbstractModule
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
LockModule
public LockModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configurein classcom.google.inject.AbstractModule
-
distributedLockInterceptor
- Returns:
- DistributedLockInterceptor which will handle method annotated with @
DistributedLock
-