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
ConstructorDescriptionLazyLoadingInterceptor
(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.LazyLoadingInterceptor
that just continues with the invocation. - Since:
- 4.0
-
invoke
- Specified by:
invoke
in interfaceMethodInterceptor
- Throws:
Throwable
-
intercept
@Nullable public Object intercept(Object o, Method method, Object[] args, MethodProxy proxy) throws Throwable - Specified by:
intercept
in interfaceMethodInterceptor
- Throws:
Throwable
-