From 6c602d7bbc2f5a897ed1dc4ffa04b1155d9947d4 Mon Sep 17 00:00:00 2001 From: Phani Kandula Date: Tue, 28 Feb 2012 20:58:20 -0600 Subject: [PATCH] Fix typo in ApplicationContext reference doc - Add missing '=' sign in sample code for section 4.2.3 Issue: SPR-8856 --- src/reference/docbook/beans.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/docbook/beans.xml b/src/reference/docbook/beans.xml index 7d560c035d..f375298d50 100644 --- a/src/reference/docbook/beans.xml +++ b/src/reference/docbook/beans.xml @@ -370,7 +370,7 @@ ApplicationContext context = PetStoreServiceImpl service = context.getBean("petStore", PetStoreServiceImpl.class); // use configured instance -List userList service.getUsernameList(); +List userList = service.getUsernameList(); You use getBean() to retrieve instances of