Top Description Methods
org.springframework.context

public Interface EnvironmentAware

extends Aware
Known Direct Implementers
org.springframework.context.annotation.ConfigurationClassPostProcessor, org.springframework.context.annotation.MBeanExportConfiguration, org.springframework.context.support.PropertySourcesPlaceholderConfigurer
Imports
org.springframework.beans.factory.Aware, org.springframework.core.env.Environment

Interface to be implemented by any bean that wishes to be notified of the Environment that it runs in.
Author
Chris Beams
Since
3.1
See Also
org.springframework.core.env.EnvironmentCapable

Method Summary

Modifier and TypeMethod and Description
public void
setEnvironment(Environment environment)

Set the Environment that this component runs in.

Method Detail

setEnvironmentback to summary
public void setEnvironment(Environment environment)

Set the Environment that this component runs in.