From 32171f5ed64da76185d91e36b1e458152a582bb7 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 31 Oct 2014 15:37:47 -0400 Subject: [PATCH] INT-3542 Clarify Docs Regarding Inner Beans JIRA: https://jira.spring.io/browse/INT-3542 --- src/reference/docbook/endpoint.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/reference/docbook/endpoint.xml b/src/reference/docbook/endpoint.xml index b66dd5682b..59c178591f 100644 --- a/src/reference/docbook/endpoint.xml +++ b/src/reference/docbook/endpoint.xml @@ -706,5 +706,19 @@ public class ContextConfiguration { id attribute). MessageSources are registered with a bean id somePolledAdapter.source, again where 'somePolledAdapter' is the id of the adapter. + + The above only applies to the framework component itself. If you use an inner bean definition such as this: + + + +]]> + + the bean is treated like any inner bean declared that way and is not registered with the application context. If you wish + to access this bean in some other manner, declare it at the top level with an id and use the ref + attribute instead. See the + Spring Documentation for more information. +