Class PassThroughInterceptor
- java.lang.Object
-
- org.hibernate.bytecode.internal.bytebuddy.PassThroughInterceptor
-
- All Implemented Interfaces:
ProxyConfiguration.Interceptor
public class PassThroughInterceptor extends Object implements ProxyConfiguration.Interceptor
-
-
Constructor Summary
Constructors Constructor Description PassThroughInterceptor(String proxiedClassName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
intercept(Object instance, Method method, Object[] arguments)
Intercepts a method call to a proxy.
-
-
-
Constructor Detail
-
PassThroughInterceptor
public PassThroughInterceptor(String proxiedClassName)
-
-
Method Detail
-
intercept
public Object intercept(Object instance, Method method, Object[] arguments) throws Exception
Description copied from interface:ProxyConfiguration.Interceptor
Intercepts a method call to a proxy.- Specified by:
intercept
in interfaceProxyConfiguration.Interceptor
- Parameters:
instance
- The proxied instance.method
- The invoked method.arguments
- The intercepted method arguments.- Returns:
- The method's return value.
- Throws:
Exception
-
-