Interface InterceptedBeanProxy<T>
- Type Parameters:
T- The declaring type
- All Superinterfaces:
InterceptedBean, Qualified<T>
- All Known Subinterfaces:
HotSwappableInterceptedProxy<T>, InterceptedProxy<T>
An internal
InterceptedBean that proxies another instance.
Inject aware version of AOP interface.- Since:
- 3.5.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidClear the cached target if this proxy caches one.default booleanCheck if the proxy has the target cached before callinginterceptedTarget().This method will return the target object being proxied.Methods inherited from interface InterceptedBean
interceptedMethodsMethods inherited from interface Qualified
$withBeanQualifier
-
Method Details
-
interceptedTarget
T interceptedTarget()This method will return the target object being proxied.- Returns:
- The proxy target
-
hasCachedInterceptedTarget
default boolean hasCachedInterceptedTarget()Check if the proxy has the target cached before callinginterceptedTarget().- Returns:
- true if the target is cached
-
clearCachedInterceptedTarget
default void clearCachedInterceptedTarget()Clear the cached target if this proxy caches one.- Since:
- 5.1.0
-