|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.binding.convert.support.CustomConverterConfigurer
public class CustomConverterConfigurer
Registers all 'from string' converters known to a conversion service with a Spring bean factory.
Acts as bean factory post processor, registering property editor adapters for each supported conversion with a
java.lang.String sourceClass
. This makes for very convenient use with the Spring container.
Constructor Summary | |
---|---|
CustomConverterConfigurer()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
|
void |
setConversionService(ConversionService conversionService)
Create a new configurer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomConverterConfigurer()
Method Detail |
---|
public void setConversionService(ConversionService conversionService)
conversionService
- the conversion service to take converters frompublic void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |