Skip to content

Commit 0b96da4

Browse files
committed
Revise javadoc for LifecycleProcessor bean etc
1 parent 387a16b commit 0b96da4

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,25 +136,33 @@ public abstract class AbstractApplicationContext extends DefaultResourceLoader
136136
implements ConfigurableApplicationContext {
137137

138138
/**
139-
* Name of the MessageSource bean in the factory.
140-
* If none is supplied, message resolution is delegated to the parent.
141-
* @see MessageSource
142-
*/
143-
public static final String MESSAGE_SOURCE_BEAN_NAME = "messageSource";
144-
145-
/**
146-
* Name of the LifecycleProcessor bean in the factory.
147-
* If none is supplied, a DefaultLifecycleProcessor is used.
139+
* The name of the {@link LifecycleProcessor} bean in the context.
140+
* If none is supplied, a {@link DefaultLifecycleProcessor} is used.
141+
* @since 3.0
148142
* @see org.springframework.context.LifecycleProcessor
149143
* @see org.springframework.context.support.DefaultLifecycleProcessor
144+
* @see #start()
145+
* @see #stop()
150146
*/
151147
public static final String LIFECYCLE_PROCESSOR_BEAN_NAME = "lifecycleProcessor";
152148

153149
/**
154-
* Name of the ApplicationEventMulticaster bean in the factory.
155-
* If none is supplied, a default SimpleApplicationEventMulticaster is used.
150+
* The name of the {@link MessageSource} bean in the context.
151+
* If none is supplied, message resolution is delegated to the parent.
152+
* @see org.springframework.context.MessageSource
153+
* @see org.springframework.context.support.ResourceBundleMessageSource
154+
* @see org.springframework.context.support.ReloadableResourceBundleMessageSource
155+
* @see #getMessage(MessageSourceResolvable, Locale)
156+
*/
157+
public static final String MESSAGE_SOURCE_BEAN_NAME = "messageSource";
158+
159+
/**
160+
* The name of the {@link ApplicationEventMulticaster} bean in the context.
161+
* If none is supplied, a {@link SimpleApplicationEventMulticaster} is used.
156162
* @see org.springframework.context.event.ApplicationEventMulticaster
157163
* @see org.springframework.context.event.SimpleApplicationEventMulticaster
164+
* @see #publishEvent(ApplicationEvent)
165+
* @see #addApplicationListener(ApplicationListener)
158166
*/
159167
public static final String APPLICATION_EVENT_MULTICASTER_BEAN_NAME = "applicationEventMulticaster";
160168

0 commit comments

Comments
 (0)