Class CloneableAdvice<E>
- java.lang.Object
-
- com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice<Cloneable,E>
-
- com.alpha.mongodb.entitymanager.proxy.advice.CloneableAdvice<E>
-
- Type Parameters:
E
- Entity Type
- All Implemented Interfaces:
DelegatedAdvice<Cloneable>
,org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
public class CloneableAdvice<E> extends AbstractDelegatedAdvice<Cloneable,E>
Cloneable Advice that implementsCloneable.clone(Cloneable.CopiedEntityCallback)
andCloneable.copy()
methods- Author:
- Shashank Sharma
-
-
Constructor Summary
Constructors Constructor Description CloneableAdvice(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 Cloneable>
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
-
CloneableAdvice
public CloneableAdvice(E entity, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate, String collectionName, ManageableAdvice<E> manageableAdvice)
-
-