Package | Description |
---|---|
org.springframework.context |
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
|
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
org.springframework.context.support |
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
|
org.springframework.core.env |
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
|
org.springframework.jca.context |
Integration package that allows for deploying a Spring application context
as a JCA 1.5 compliant RAR file.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableEnvironment |
ConfigurableApplicationContext.getEnvironment()
Return the Environment for this application context in configurable form.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableApplicationContext.setEnvironment(ConfigurableEnvironment environment)
Set the
Environment for this application context. |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationConfigApplicationContext.setEnvironment(ConfigurableEnvironment environment)
Set the
Environment for this application context. |
Modifier and Type | Method and Description |
---|---|
protected ConfigurableEnvironment |
AbstractApplicationContext.createEnvironment()
Create and return a new
StandardEnvironment . |
ConfigurableEnvironment |
AbstractApplicationContext.getEnvironment() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractApplicationContext.setEnvironment(ConfigurableEnvironment environment)
Set the
Environment for this application context. |
void |
GenericXmlApplicationContext.setEnvironment(ConfigurableEnvironment environment)
Set the
Environment for this application context. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEnvironment
Abstract base class for
Environment implementations. |
class |
StandardEnvironment
Environment implementation suitable for use in 'standard' (i.e. |
Modifier and Type | Method and Description |
---|---|
protected ConfigurableEnvironment |
SpringContextResourceAdapter.createEnvironment()
Return a new
StandardEnvironment . |
Copyright © 2012. All Rights Reserved.