getBinder
<T> Binder<T,? extends ConsumerProperties,? extends ProducerProperties> getBinder(String configurationName,
Class<? extends T> bindableType)
Returns the binder instance associated with the given configuration name. Instance
caching is a requirement, and implementations must return the same instance on
subsequent invocations with the same arguments.
- Type Parameters:
T - the primary binding type
- Parameters:
configurationName - the name of a binder configuration
bindableType - binding target type
- Returns:
- the binder instance