From 716273df478d8af7c1b93ed9e025ccd6f12cd902 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 1 Jul 2016 11:15:32 +0200 Subject: [PATCH] Polish Closes gh-967 --- src/asciidoc/core-beans.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asciidoc/core-beans.adoc b/src/asciidoc/core-beans.adoc index 0a419ff3445..64082be6d81 100644 --- a/src/asciidoc/core-beans.adoc +++ b/src/asciidoc/core-beans.adoc @@ -3438,7 +3438,7 @@ a reference to the name defined in its associated object definition. ---- public interface BeanNameAware { - void setBeanName(string name) throws BeansException; + void setBeanName(String name) throws BeansException; } ---- @@ -4443,7 +4443,7 @@ automatically resolved, with no special setup necessary. [NOTE] ==== -`@Autowired`, `@Inject`, `@Resource`, and `@Value` annotations are handled by a Spring +`@Autowired`, `@Inject`, `@Resource`, and `@Value` annotations are handled by Spring `BeanPostProcessor` implementations which in turn means that you __cannot__ apply these annotations within your own `BeanPostProcessor` or `BeanFactoryPostProcessor` types (if any). These types must be 'wired up' explicitly via XML or using a Spring `@Bean` method.