Uses of Interface
org.springframework.beans.factory.ObjectFactory
Packages that use 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.-
Uses of ObjectFactory in org.springframework.beans.factory
Subinterfaces of ObjectFactory in org.springframework.beans.factoryModifier and TypeInterfaceDescriptioninterfaceA 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 ObjectFactoryModifier and TypeMethodDescriptionprotected ObjectFactory<Object>ObjectFactoryCreatingFactoryBean.createInstance()Methods in org.springframework.beans.factory.config with parameters of type ObjectFactoryModifier and TypeMethodDescriptionScope.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 ObjectFactoryModifier and TypeMethodDescriptionprotected voidDefaultSingletonBeanRegistry.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.