Module spring.data.mongodb
Class LazyLoadingProxyFactory.LazyLoadingInterceptor
java.lang.Object
org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory.LazyLoadingInterceptor
- All Implemented Interfaces:
Serializable,Advice,Interceptor,MethodInterceptor,Callback,MethodInterceptor
- Enclosing class:
- LazyLoadingProxyFactory
public static class LazyLoadingProxyFactory.LazyLoadingInterceptor
extends Object
implements MethodInterceptor, MethodInterceptor, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLazyLoadingInterceptor(MongoPersistentProperty property, DbRefResolverCallback callback, Object source, PersistenceExceptionTranslator exceptionTranslator) -
Method Summary
Modifier and TypeMethodDescriptionintercept(Object o, Method method, Object[] args, MethodProxy proxy) invoke(MethodInvocation invocation) none()
-
Constructor Details
-
LazyLoadingInterceptor
public LazyLoadingInterceptor(MongoPersistentProperty property, DbRefResolverCallback callback, Object source, PersistenceExceptionTranslator exceptionTranslator)
-
-
Method Details
-
none
- Returns:
- a
LazyLoadingProxyFactory.LazyLoadingInterceptorthat just continues with the invocation. - Since:
- 4.0
-
invoke
- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-
intercept
@Nullable public Object intercept(Object o, Method method, Object[] args, MethodProxy proxy) throws Throwable - Specified by:
interceptin interfaceMethodInterceptor- Throws:
Throwable
-