Package io.micronaut.aop.runtime
Interface RuntimeProxyDefinition<T>
- Type Parameters:
T- The proxy target type
- All Known Implementing Classes:
DefaultRuntimeProxyDefinition
The runtime proxy definition.
- Since:
- 5.0
- Author:
- Denis Stepanov
-
Method Details
-
constructorArguments
Argument<?>[] constructorArguments()The constructor arguments.- Returns:
- The constructor arguments
-
constructorValues
Object[] constructorValues()The constructor values.- Returns:
- The constructor values
-
beanContext
BeanContext beanContext()- Returns:
- The bean context.
-
interceptedMethods
List<RuntimeProxyDefinition.InterceptedMethod<T>> interceptedMethods()- Returns:
- The intercepted methods.
-
proxyBeanDefinition
BeanDefinition<T> proxyBeanDefinition()- Returns:
- The proxy bean definition.
-
targetBean
T targetBean()Get the target bean. Only if proxy target is enabled.- Returns:
- The target bean.
-
introduction
boolean introduction()- Returns:
- true if introduction proxy. Otherwise, around proxy.
-
proxyTarget
boolean proxyTarget()- Returns:
- true if around proxy with a proxy target
-