Uses of Interface
org.springframework.beans.factory.ObjectFactory
Package
Description
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
SPI interfaces and configuration-related convenience classes for bean factories.
Classes supporting the
org.springframework.beans.factory
package.Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Generic support for Simple Messaging Protocols including protocols such as STOMP.
Support classes for the org.springframework.transaction package.
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.-
Uses of ObjectFactory in org.springframework.beans.factory
Modifier and TypeInterfaceDescriptioninterface
A variant ofObjectFactory
designed specifically for injection points, allowing for programmatic optionality and lenient not-unique handling. -
Uses of ObjectFactory in org.springframework.beans.factory.config
Modifier and TypeMethodDescriptionprotected ObjectFactory<Object>
ObjectFactoryCreatingFactoryBean.createInstance()
Modifier and TypeMethodDescriptionScope.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. -
Uses of ObjectFactory in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionprotected void
DefaultSingletonBeanRegistry.addSingletonFactory
(String beanName, ObjectFactory<?> singletonFactory) Add the given singleton factory for building the specified singleton if necessary.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. -
Uses of ObjectFactory in org.springframework.context.support
Modifier and TypeMethodDescriptionSimpleThreadScope.get
(String name, ObjectFactory<?> objectFactory) -
Uses of ObjectFactory in org.springframework.messaging.simp
Modifier and TypeMethodDescriptionSimpSessionScope.get
(String name, ObjectFactory<?> objectFactory) -
Uses of ObjectFactory in org.springframework.transaction.support
Modifier and TypeMethodDescriptionSimpleTransactionScope.get
(String name, ObjectFactory<?> objectFactory) -
Uses of ObjectFactory in org.springframework.web.context.request
Modifier and TypeMethodDescriptionAbstractRequestAttributesScope.get
(String name, ObjectFactory<?> objectFactory) SessionScope.get
(String name, ObjectFactory<?> objectFactory) -
Uses of ObjectFactory in org.springframework.web.context.support
Modifier and TypeMethodDescriptionServletContextScope.get
(String name, ObjectFactory<?> objectFactory)