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 | Class and Description |
|---|---|
| public static interface | ProxyConfiguration.Interceptor
An interceptor object that is responsible for invoking a proxy's method. |
| public static class | ProxyConfiguration.InterceptorDispatcher
A static interceptor that guards against method calls before the interceptor is set. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | INTERCEPTOR_FIELD_NAME
The canonical field name for an interceptor object stored in a proxied object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | $$_hibernate_set_interceptor(ProxyConfiguration.
The interceptor object. interceptorDefines an interceptor object that specifies the behavior of the proxy object. |
| INTERCEPTOR_FIELD_NAME | back to summary |
|---|---|
| public static final String INTERCEPTOR_FIELD_NAME The canonical field name for an interceptor object stored in a proxied object. | |
| $$_hibernate_set_interceptor | back to summary |
|---|---|
| public void $$_hibernate_set_interceptor(ProxyConfiguration. Defines an interceptor object that specifies the behavior of the proxy object.
| |
| Modifier and Type | Method and Description |
|---|---|
| public Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Object | Returns: The intercepted method's return value.The proxied instance. instance, final Method The invoked method. method, final Object[] The method arguments. arguments, final Object The intercepted method's default value. stubValue, ProxyConfiguration.The proxy object's interceptor instance. interceptorIntercepts a method call to a proxy. |
| InterceptorDispatcher | back to summary |
|---|---|
| public InterceptorDispatcher() | |
| intercept | back to summary |
|---|---|
| public static Object intercept(final Object instance, final Method method, final Object[] arguments, final Object stubValue, ProxyConfiguration. Intercepts a method call to a proxy.
| |