Class BindableProxyFactory

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean, Bindable

    public class BindableProxyFactory
    extends AbstractBindableProxyFactory
    implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanFactoryAware
    FactoryBean for instantiating the interfaces specified via EnableBinding.
    Author:
    Marius Bogoevici, David Syer, Ilayaperumal Gopinathan, Oleg Zhurakousky, Soby Chacko
    See Also:
    EnableBinding
    • Field Detail

      • beanFactory

        protected org.springframework.beans.factory.BeanFactory beanFactory
    • Constructor Detail

      • BindableProxyFactory

        public BindableProxyFactory​(Class<?> type)
    • Method Detail

      • invoke

        public Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
      • replaceInputChannel

        public void replaceInputChannel​(String originalChannelName,
                                        String newChannelName,
                                        org.springframework.messaging.SubscribableChannel messageChannel)
      • replaceOutputChannel

        public void replaceOutputChannel​(String originalChannelName,
                                         String newChannelName,
                                         org.springframework.messaging.MessageChannel messageChannel)
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • getObject

        public Object getObject()
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<Object>
      • getObjectType

        public Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
        Throws:
        org.springframework.beans.BeansException