Class AbstractExtendedBindingProperties<C,P,T extends BinderSpecificPropertiesProvider>
- java.lang.Object
-
- org.springframework.cloud.stream.binder.AbstractExtendedBindingProperties<C,P,T>
-
- Type Parameters:
C
- - consumer properties typeP
- - producer properties typeT
- - type which provides the consumer and producer properties
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,ExtendedBindingProperties<C,P>
,org.springframework.context.ApplicationContextAware
public abstract class AbstractExtendedBindingProperties<C,P,T extends BinderSpecificPropertiesProvider> extends Object implements ExtendedBindingProperties<C,P>, org.springframework.context.ApplicationContextAware
Base implementation ofExtendedBindingProperties
.- Since:
- 2.1
- Author:
- Oleg Zhurakousky
-
-
Constructor Summary
Constructors Constructor Description AbstractExtendedBindingProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,T>
doGetBindings()
C
getExtendedConsumerProperties(String binding)
P
getExtendedProducerProperties(String binding)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setBindings(Map<String,T> bindings)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.stream.binder.ExtendedBindingProperties
getBindings, getDefaultsPrefix, getExtendedPropertiesEntryClass
-
-
-
-
Method Detail
-
getExtendedConsumerProperties
public C getExtendedConsumerProperties(String binding)
- Specified by:
getExtendedConsumerProperties
in interfaceExtendedBindingProperties<C,P>
-
getExtendedProducerProperties
public P getExtendedProducerProperties(String binding)
- Specified by:
getExtendedProducerProperties
in interfaceExtendedBindingProperties<C,P>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-