public interface ProxyConfiguration
While this interface depends on Byte Buddy types, this is only true for annotation types which are silently suppressed by the runtime if they are not available on a class loader. This allows using this interceptor and configuration with for example OSGi without any export of Byte Buddy when using Hibernate.
Modifier and Type | Interface and Description |
---|---|
static interface |
ProxyConfiguration.Interceptor
An interceptor object that is responsible for invoking a proxy's method.
|
static class |
ProxyConfiguration.InterceptorDispatcher
A static interceptor that guards against method calls before the interceptor is set.
|
Modifier and Type | Field and Description |
---|---|
static String |
INTERCEPTOR_FIELD_NAME
The canonical field name for an interceptor object stored in a proxied object.
|
Modifier and Type | Method and Description |
---|---|
void |
$$_hibernate_set_interceptor(ProxyConfiguration.Interceptor interceptor)
Defines an interceptor object that specifies the behavior of the proxy object.
|
static final String INTERCEPTOR_FIELD_NAME
void $$_hibernate_set_interceptor(ProxyConfiguration.Interceptor interceptor)
interceptor
- The interceptor object.Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.