Interface BindingTargetFactory
-
- All Known Implementing Classes:
AbstractBindingTargetFactory
,MessageSourceBindingTargetFactory
,SubscribableChannelBindingTargetFactory
public interface BindingTargetFactory
Defines 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 boolean
canCreate(Class<?> clazz)
Checks whether a specific binding target type can be created by this factory.Object
createInput(String name)
Create an input binding target that will be bound via a correspondingBinder
.Object
createOutput(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
-
-