spring-framework / org.springframework.context

Package org.springframework.context

Types

EmbeddedValueResolverAware

interface EmbeddedValueResolverAware : Aware

Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

This is an alternative to a full ConfigurableBeanFactory dependency via the ApplicationContextAware/BeanFactoryAware interfaces.

MessageSourceAware

interface MessageSourceAware : Aware

Interface to be implemented by any object that wishes to be notified of the MessageSource (typically the ApplicationContext) that it runs in.

Note that the MessageSource can usually also be passed on as bean reference (to arbitrary bean properties or constructor arguments), because it is defined as bean with name "messageSource" in the application context.

Phased

interface Phased

Interface for objects that may participate in a phased process such as lifecycle management.

Exceptions

ApplicationContextException

open class ApplicationContextException : FatalBeanException

Exception thrown during application context initialization.

NoSuchMessageException

open class NoSuchMessageException : RuntimeException

Exception thrown when a message can't be resolved.