public class ConnectorMethodInterceptorFactory extends MethodInterceptorFactory
Factory to create the method interceptor for Mule Connector
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
The bean definition ID in the mule registry
|
| Constructor and Description |
|---|
ConnectorMethodInterceptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static BeanFactoryMethodBuilder |
addFactoryDefinitionTo(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition)
Util method that creates a @see #BeanFactoryMethodBuilder based on an abstract bean definition
|
protected net.sf.cglib.proxy.MethodInterceptor |
createInterceptor()
Actual implementation of the interceptor creation
|
createpublic static String ID
The bean definition ID in the mule registry
public static BeanFactoryMethodBuilder addFactoryDefinitionTo(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition)
Util method that creates a @see #BeanFactoryMethodBuilder based on an abstract bean definition
The usage:
addFactoryDefinitionTo(beanDefinition).withConstructorArguments(beanDefinition.getBeanClass());
beanDefinition - The bean definition that we want to modify
The BeanFactoryMethodBuilder that will do the job of adding constructor params to the bean definition
protected net.sf.cglib.proxy.MethodInterceptor createInterceptor()
Actual implementation of the interceptor creation
createInterceptor in class MethodInterceptorFactory
A ConnectorMethodInterceptor object
Copyright © 2016. All rights reserved.