Package | Description |
---|---|
org.springframework.beans.factory.config |
SPI interfaces and configuration-related convenience classes for bean factories.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
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.web.context.request |
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectFactory |
ObjectFactoryCreatingFactoryBean.createInstance() |
Modifier and Type | Method and Description |
---|---|
Object |
Scope.get(String name,
ObjectFactory<?> objectFactory)
Return the object with the given name from the underlying scope,
creating it
if not found in the underlying storage mechanism. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultSingletonBeanRegistry.addSingletonFactory(String beanName,
ObjectFactory singletonFactory)
Add the given singleton factory for building the specified singleton
if necessary.
|
Object |
DefaultSingletonBeanRegistry.getSingleton(String beanName,
ObjectFactory<?> singletonFactory)
Return the (raw) singleton object registered under the given name,
creating and registering a new one if none registered yet.
|
Modifier and Type | Method and Description |
---|---|
Object |
SimpleThreadScope.get(String name,
ObjectFactory<?> objectFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractRequestAttributesScope.get(String name,
ObjectFactory objectFactory) |
Object |
SessionScope.get(String name,
ObjectFactory objectFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
ServletContextScope.get(String name,
ObjectFactory<?> objectFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
PortletContextScope.get(String name,
ObjectFactory<?> objectFactory) |
Copyright © 2015. All rights reserved.