Package io.micronaut.inject.proxy
Interface InterceptedBeanProxy<T>
-
- Type Parameters:
T
- The declaring type
- All Superinterfaces:
InterceptedBean
,Qualified<T>
@Internal public interface InterceptedBeanProxy<T> extends InterceptedBean, Qualified<T>
An internalInterceptedBean
that proxies another instance. Inject aware version of AOP interface.- Since:
- 3.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
hasCachedInterceptedTarget()
Check if the proxy has the target cached before callinginterceptedTarget()
.T
interceptedTarget()
This method will return the target object being proxied.-
Methods inherited from interface io.micronaut.inject.qualifiers.Qualified
$withBeanQualifier
-
-
-
-
Method Detail
-
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
-
-