@Configuration @ComponentScan(basePackageClasses=ResultHandlerConfig.class) public class SpringShellAutoConfiguration extends Object
Constructor and Description |
---|
SpringShellAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.core.convert.ConversionService |
conversionService(org.springframework.context.ApplicationContext applicationContext) |
Shell |
shell(ResultHandler resultHandler) |
javax.validation.Validator |
validator() |
@Bean @ConditionalOnMissingBean(value=org.springframework.core.convert.ConversionService.class) public org.springframework.core.convert.ConversionService conversionService(org.springframework.context.ApplicationContext applicationContext)
@Bean @ConditionalOnMissingBean(value=javax.validation.Validator.class) public javax.validation.Validator validator()
@Bean public Shell shell(@Qualifier(value="main") ResultHandler resultHandler)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.