# Class org.springframework.context.annotation.configuration.Spr7167Tests

1 tests | 0 failures | 0 ignored | 0.026s duration

100%

successful

- Tests
- Standard output

## Tests

Test | Duration | Result
--- | --- | ---
test | 0.026s | passed

## Standard output

    16:45:36.499 [Test worker] WARN  org.springframework.context.annotation.ConfigurationClassEnhancer - @Bean method MyConfig.thePostProcessor is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.