Class BindableProxyFactory
java.lang.Object
org.springframework.cloud.stream.binding.AbstractBindableProxyFactory
org.springframework.cloud.stream.binding.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
- Direct Known Subclasses:
BindableFunctionProxyFactory
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 functions.- Author:
- Marius Bogoevici, David Syer, Ilayaperumal Gopinathan, Oleg Zhurakousky, Soby Chacko
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.beans.factory.BeanFactoryFields inherited from class org.springframework.cloud.stream.binding.AbstractBindableProxyFactory
bindingTargetFactories, inputHolders, outputHolders, typeFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClass<?>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 org.springframework.cloud.stream.binding.AbstractBindableProxyFactory
createAndBindInputs, createAndBindOutputs, getBindingTargetFactory, getInputs, getOutputs, populateBindingTargetFactories, unbindInputs, unbindOutputs
-
Field Details
-
beanFactory
protected org.springframework.beans.factory.BeanFactory beanFactory
-
-
Constructor Details
-
BindableProxyFactory
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor
-
replaceInputChannel
-
replaceOutputChannel
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<Object>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<Object>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<Object>
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-