Class UpdatableAdvice<E>
- java.lang.Object
-
- com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice<Updatable,E>
-
- com.alpha.mongodb.entitymanager.proxy.advice.UpdatableAdvice<E>
-
- Type Parameters:
E
- Entity Type
- All Implemented Interfaces:
DelegatedAdvice<Updatable>
,org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
public class UpdatableAdvice<E> extends AbstractDelegatedAdvice<Updatable,E>
Updatable Advice that implementsUpdatable.update()
method- Author:
- Shashank Sharma
-
-
Constructor Summary
Constructors Constructor Description UpdatableAdvice(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 Updatable>
getAdvisedClass()
Method[]
getAdvisedMethods()
Object
invoke(org.aopalliance.intercept.MethodInvocation invocation)
-
Methods inherited from class com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice
detach, validateEntity
-
-
-
-
Constructor Detail
-
UpdatableAdvice
public UpdatableAdvice(E entity, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate, String collectionName, ManageableAdvice<E> manageableAdvice)
-
-