Class ByteBuddyInterceptor
java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
org.hibernate.proxy.pojo.BasicLazyInitializer
org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
- All Implemented Interfaces:
LazyInitializer
,ProxyConfiguration.Interceptor
public class ByteBuddyInterceptor
extends BasicLazyInitializer
implements ProxyConfiguration.Interceptor
-
Field Summary
Fields inherited from class org.hibernate.proxy.pojo.BasicLazyInitializer
componentIdType, getIdentifierMethod, INVOKE_IMPLEMENTATION, overridesEquals, persistentClass, setIdentifierMethod
-
Constructor Summary
ConstructorsConstructorDescriptionByteBuddyInterceptor
(String entityName, Class<?> persistentClass, Class<?>[] interfaces, Object id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals) -
Method Summary
Methods inherited from class org.hibernate.proxy.pojo.BasicLazyInitializer
getImplementationClass, getPersistentClass, invoke
Methods inherited from class org.hibernate.proxy.AbstractLazyInitializer
getEntityName, getIdentifier, getImplementation, getImplementation, getImplementationEntityName, getInternalIdentifier, getSession, getSessionFactoryName, getSessionFactoryUuid, getTarget, initialize, initializeWithoutLoadIfPossible, isAllowLoadOutsideTransaction, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
-
Constructor Details
-
Method Details
-
intercept
Description copied from interface:ProxyConfiguration.Interceptor
Intercepts a method call to a proxy.- Specified by:
intercept
in interfaceProxyConfiguration.Interceptor
- Parameters:
proxy
- The proxied instance.thisMethod
- The invoked method.args
- The intercepted method arguments.- Returns:
- The method's return value.
- Throws:
Throwable
- If the intercepted method raises an exception.
-
serializableProxy
- Specified by:
serializableProxy
in classBasicLazyInitializer
-