Class RefreshableAdvice<E>
- java.lang.Object
-
- com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice<Refreshable,E>
-
- com.alpha.mongodb.entitymanager.proxy.advice.RefreshableAdvice<E>
-
- Type Parameters:
E-
- All Implemented Interfaces:
DelegatedAdvice<Refreshable>,org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class RefreshableAdvice<E> extends AbstractDelegatedAdvice<Refreshable,E>
Refreshable advice that implementsRefreshable.refresh()method
-
-
Constructor Summary
Constructors Constructor Description RefreshableAdvice(E entity, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate, String collectionName, ManageableAdvice<E> manageableAdvice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Refreshable>getAdvisedClass()Method[]getAdvisedMethods()Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)-
Methods inherited from class com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice
detach, validateEntity
-
-
-
-
Constructor Detail
-
RefreshableAdvice
public RefreshableAdvice(E entity, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate, String collectionName, ManageableAdvice<E> manageableAdvice)
-
-