Interface BindingTargetFactory
-
- All Known Implementing Classes:
AbstractBindingTargetFactory,MessageSourceBindingTargetFactory,SubscribableChannelBindingTargetFactory
public interface BindingTargetFactoryDefines methods to create/configure the binding targets defined byEnableBinding.- Author:
- Marius Bogoevici, Ilayaperumal Gopinathan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanCreate(Class<?> clazz)Checks whether a specific binding target type can be created by this factory.ObjectcreateInput(String name)Create an input binding target that will be bound via a correspondingBinder.ObjectcreateOutput(String name)Create an output binding target that will be bound via a correspondingBinder.
-
-
-
Method Detail
-
canCreate
boolean canCreate(Class<?> clazz)
Checks whether a specific binding target type can be created by this factory.- Parameters:
clazz- the binding target type- Returns:
- true if the binding target can be created
-
createInput
Object createInput(String name)
Create an input binding target that will be bound via a correspondingBinder.- Parameters:
name- name of the binding target- Returns:
- binding target
-
-