Uses of Interface
org.springframework.beans.factory.ObjectFactory
Packages that use ObjectFactory Package Description org.springframework.beans.factory The core package implementing Spring's lightweight Inversion of Control (IoC) container.org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factorypackage.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.messaging.simp Generic support for Simple Messaging Protocols including protocols such as STOMP.org.springframework.transaction.support Support classes for the org.springframework.transaction package.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 theorg.springframework.web.contextpackage, such as WebApplicationContext implementations and various utility classes.Uses of ObjectFactory in org.springframework.beans.factory
Subinterfaces of ObjectFactory in org.springframework.beans.factory Modifier and Type Interface Description interfaceObjectProvider<T>A variant ofObjectFactorydesigned specifically for injection points, allowing for programmatic optionality and lenient not-unique handling.Uses of ObjectFactory in org.springframework.beans.factory.config
Methods in org.springframework.beans.factory.config that return ObjectFactory Modifier and Type Method Description protected ObjectFactory<Object>ObjectFactoryCreatingFactoryBean. createInstance()Methods in org.springframework.beans.factory.config with parameters of type ObjectFactory Modifier and Type Method Description ObjectScope. get(String name, ObjectFactory<?> objectFactory)Return the object with the given name from the underlying scope,creating itif not found in the underlying storage mechanism.Uses of ObjectFactory in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support with parameters of type ObjectFactory Modifier and Type Method Description protected voidDefaultSingletonBeanRegistry. addSingletonFactory(String beanName, ObjectFactory<?> singletonFactory)Add the given singleton factory for building the specified singleton if necessary.ObjectDefaultSingletonBeanRegistry. 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
Methods in org.springframework.context.support with parameters of type ObjectFactory Modifier and Type Method Description ObjectSimpleThreadScope. get(String name, ObjectFactory<?> objectFactory)Uses of ObjectFactory in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp with parameters of type ObjectFactory Modifier and Type Method Description ObjectSimpSessionScope. get(String name, ObjectFactory<?> objectFactory)Uses of ObjectFactory in org.springframework.transaction.support
Methods in org.springframework.transaction.support with parameters of type ObjectFactory Modifier and Type Method Description ObjectSimpleTransactionScope. get(String name, ObjectFactory<?> objectFactory)Uses of ObjectFactory in org.springframework.web.context.request
Methods in org.springframework.web.context.request with parameters of type ObjectFactory Modifier and Type Method Description ObjectAbstractRequestAttributesScope. get(String name, ObjectFactory<?> objectFactory)ObjectSessionScope. get(String name, ObjectFactory<?> objectFactory)Uses of ObjectFactory in org.springframework.web.context.support
Methods in org.springframework.web.context.support with parameters of type ObjectFactory Modifier and Type Method Description ObjectServletContextScope. get(String name, ObjectFactory<?> objectFactory)