Class BindableProxyFactory

java.lang.Object
org.springframework.cloud.stream.binding.AbstractBindableProxyFactory
org.springframework.cloud.stream.binding.BindableProxyFactory
All Implemented Interfaces:
Bindable
Direct Known Subclasses:
BindableFunctionProxyFactory

public class BindableProxyFactory extends AbstractBindableProxyFactory
FactoryBean for instantiating the functions.
Author:
Marius Bogoevici, David Syer, Ilayaperumal Gopinathan, Oleg Zhurakousky, Soby Chacko, Omer Celik
  • Field Details

    • beanFactory

      protected org.springframework.beans.factory.BeanFactory beanFactory
    • OBJECT_TYPE_ATTRIBUTE

      static final String OBJECT_TYPE_ATTRIBUTE
      See Also:
  • Constructor Details

    • BindableProxyFactory

      public BindableProxyFactory(Class<?> type)
  • Method Details

    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
    • 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()
    • getObject

      public Object getObject()
      Double-Checked Locking Optimization was used to avoid unnecessary locking overhead.
    • getObjectType

      public Class<?> getObjectType()
    • isSingleton

      public boolean isSingleton()
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Throws:
      org.springframework.beans.BeansException