public class DefaultBinderFactory<T> extends Object implements BinderFactory<T>, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
BinderFactory
implementation.Constructor and Description |
---|
DefaultBinderFactory(Map<String,BinderConfiguration> binderConfigurations) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Binder<T,?,?> |
getBinder(String name)
Returns the binder instance associated with the given configuration name.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBindersHealthIndicator(org.springframework.boot.actuate.health.CompositeHealthIndicator bindersHealthIndicator) |
void |
setDefaultBinder(String defaultBinder) |
public DefaultBinderFactory(Map<String,BinderConfiguration> binderConfigurations)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
@Autowired(required=false) @Qualifier(value="bindersHealthIndicator") public void setBindersHealthIndicator(org.springframework.boot.actuate.health.CompositeHealthIndicator bindersHealthIndicator)
public void setDefaultBinder(String defaultBinder)
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public Binder<T,?,?> getBinder(String name)
BinderFactory
getBinder
in interface BinderFactory<T>
name
- the name of a binder configurationCopyright © 2016 Pivotal Software, Inc.. All rights reserved.