public interface ExecutionHandleLocator
ExecutionHandle instances
 for beans.| Modifier and Type | Field and Description | 
|---|---|
| static ExecutionHandleLocator | EMPTYA empty no-op locator. | 
| Modifier and Type | Method and Description | 
|---|---|
| default <T,R> Optional<ExecutableMethod<T,R>> | findExecutableMethod(Class<T> beanType,
                    String method,
                    Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> Optional<MethodExecutionHandle<T,R>> | findExecutionHandle(Class<T> beanType,
                   Qualifier<?> qualifier,
                   String method,
                   Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> Optional<MethodExecutionHandle<T,R>> | findExecutionHandle(Class<T> beanType,
                   String method,
                   Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> Optional<MethodExecutionHandle<T,R>> | findExecutionHandle(T bean,
                   String method,
                   Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> Optional<ExecutableMethod<T,R>> | findProxyTargetMethod(Class<T> beanType,
                     Qualifier<T> qualifier,
                     String method,
                     Class... arguments)Finds the original unproxied method for a  ProxyBeanDefinition. | 
| default <T,R> Optional<ExecutableMethod<T,R>> | findProxyTargetMethod(Class<T> beanType,
                     String method,
                     Class... arguments)Finds the original unproxied method for a  ProxyBeanDefinition. | 
| default <T,R> ExecutableMethod<T,R> | getExecutableMethod(Class<T> beanType,
                   String method,
                   Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> MethodExecutionHandle<T,R> | getExecutionHandle(Class<T> beanType,
                  String method,
                  Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> MethodExecutionHandle<T,R> | getExecutionHandle(T bean,
                  String method,
                  Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> ExecutableMethod<T,R> | getProxyTargetMethod(Class<T> beanType,
                    Qualifier<T> qualifier,
                    String method,
                    Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
| default <T,R> ExecutableMethod<T,R> | getProxyTargetMethod(Class<T> beanType,
                    String method,
                    Class... arguments)Finds an optimized execution handle for invoking a bean method. | 
static final ExecutionHandleLocator EMPTY
default <T,R> Optional<MethodExecutionHandle<T,R>> findExecutionHandle(Class<T> beanType, String method, Class... arguments)
T - The target beanR - The result type of the execution handlebeanType - The bean typemethod - The methodarguments - The argumentsdefault <T,R> Optional<MethodExecutionHandle<T,R>> findExecutionHandle(Class<T> beanType, Qualifier<?> qualifier, String method, Class... arguments)
T - The target beanR - The result type of the execution handlebeanType - The bean typequalifier - The bean qualifermethod - The methodarguments - The argumentsdefault <T,R> Optional<MethodExecutionHandle<T,R>> findExecutionHandle(T bean, String method, Class... arguments)
T - The target beanR - The result type of the execution handlebean - The bean to invoke the method onmethod - The methodarguments - The argumentsdefault <T,R> Optional<ExecutableMethod<T,R>> findExecutableMethod(Class<T> beanType, String method, Class... arguments)
T - The bean type classR - The result type of the execution handlebeanType - The bean typemethod - The methodarguments - The argumentsdefault <T,R> Optional<ExecutableMethod<T,R>> findProxyTargetMethod(Class<T> beanType, String method, Class... arguments)
ProxyBeanDefinition.T - The bean type classR - The result type of the execution handlebeanType - The bean typemethod - The methodarguments - The argumentsdefault <T,R> Optional<ExecutableMethod<T,R>> findProxyTargetMethod(Class<T> beanType, Qualifier<T> qualifier, String method, Class... arguments)
ProxyBeanDefinition.T - The bean type classR - The result type of the execution handlebeanType - The bean typequalifier - The qualifiermethod - The methodarguments - The argumentsdefault <T,R> ExecutableMethod<T,R> getExecutableMethod(Class<T> beanType, String method, Class... arguments) throws NoSuchMethodException
T - The bean type classR - The result type of the execution handlebeanType - The bean typemethod - The methodarguments - The argumentsNoSuchMethodException - if the method cannot be founddefault <T,R> ExecutableMethod<T,R> getProxyTargetMethod(Class<T> beanType, String method, Class... arguments) throws NoSuchMethodException
T - The bean type classR - The result type of the execution handlebeanType - The bean typemethod - The methodarguments - The argumentsNoSuchMethodException - if the method cannot be founddefault <T,R> ExecutableMethod<T,R> getProxyTargetMethod(Class<T> beanType, Qualifier<T> qualifier, String method, Class... arguments) throws NoSuchMethodException
T - The bean type classR - The result type of the execution handlebeanType - The bean typequalifier - The qualifiermethod - The methodarguments - The argumentsNoSuchMethodException - if the method cannot be founddefault <T,R> MethodExecutionHandle<T,R> getExecutionHandle(Class<T> beanType, String method, Class... arguments) throws NoSuchMethodException
T - The target beanR - The result type of the execution handlebeanType - The bean typemethod - The methodarguments - The argumentsNoSuchMethodException - if the method cannot be founddefault <T,R> MethodExecutionHandle<T,R> getExecutionHandle(T bean, String method, Class... arguments) throws NoSuchMethodException
T - The target beanR - The result type of the execution handlebean - The bean to invoke the method onmethod - The methodarguments - The argumentsNoSuchMethodException - if the method cannot be found