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
@NullUnmarked
public static class LazyLoadingProxyFactory.LazyLoadingInterceptor
extends Object
implements MethodInterceptor, MethodInterceptor, Serializable
- Author:
- Christoph Strobl, Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLazyLoadingInterceptor(@Nullable MongoPersistentProperty property, @Nullable DbRefResolverCallback callback, @Nullable Object source, @Nullable PersistenceExceptionTranslator exceptionTranslator) -
Method Summary
Modifier and TypeMethodDescription@Nullable Objectintercept(Object o, Method method, @Nullable Object @Nullable [] args, @Nullable MethodProxy proxy) @Nullable Objectinvoke(MethodInvocation invocation) none()
-
Constructor Details
-
LazyLoadingInterceptor
public LazyLoadingInterceptor(@Nullable MongoPersistentProperty property, @Nullable DbRefResolverCallback callback, @Nullable Object source, @Nullable 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
public @Nullable Object intercept(Object o, Method method, @Nullable Object @Nullable [] args, @Nullable MethodProxy proxy) throws Throwable - Specified by:
interceptin interfaceMethodInterceptor- Throws:
Throwable
-