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
FactoryBean for instantiating the functions.- Author:
- Marius Bogoevici, David Syer, Ilayaperumal Gopinathan, Oleg Zhurakousky, Soby Chacko, Omer Celik
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.beans.factory.BeanFactorystatic final StringFields inherited from class AbstractBindableProxyFactory
bindingTargetFactories, inputHolders, outputHolders, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDouble-Checked Locking Optimization was used to avoid unnecessary locking overhead.Class<?> invoke(org.aopalliance.intercept.MethodInvocation invocation) booleanvoidreplaceInputChannel(String originalChannelName, String newChannelName, org.springframework.messaging.SubscribableChannel messageChannel) voidreplaceOutputChannel(String originalChannelName, String newChannelName, org.springframework.messaging.MessageChannel messageChannel) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) Methods inherited from class AbstractBindableProxyFactory
createAndBindInputs, createAndBindOutputs, getBindingTargetFactory, getInputs, getOutputs, populateBindingTargetFactories, unbindInputs, unbindOutputs
-
Field Details
-
beanFactory
protected org.springframework.beans.factory.BeanFactory beanFactory -
OBJECT_TYPE_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
BindableProxyFactory
-
-
Method Details
-
invoke
-
replaceInputChannel
-
replaceOutputChannel
-
afterPropertiesSet
public void afterPropertiesSet() -
getObject
Double-Checked Locking Optimization was used to avoid unnecessary locking overhead. -
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
-