Uses of Interface
org.springframework.beans.factory.FactoryBean
Packages that use FactoryBean
Package
Description
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
SPI interfaces and configuration-related convenience classes for bean factories.
Support package for the Java
ServiceLoader facility.Classes supporting the
org.springframework.beans.factory package.-
Uses of FactoryBean in org.springframework.beans.factory
Subinterfaces of FactoryBean in org.springframework.beans.factory -
Uses of FactoryBean in org.springframework.beans.factory.config
Classes in org.springframework.beans.factory.config that implement FactoryBeanModifier and TypeClassDescriptionclassSimple template superclass forFactoryBeanimplementations that creates a singleton or a prototype object, depending on a flag.classFactoryBeanwhich retrieves a static or non-static field value.classSimple factory for shared List instances.classSimple factory for shared Map instances.classFactoryBeanwhich returns a value which is the result of a static or instance method invocation.classAFactoryBeanimplementation that returns a value which is anObjectFactorythat in turn returns a bean sourced from aBeanFactory.classAllows for making a properties file from a classpath location available as Properties instance in a bean factory.classFactoryBeanthat evaluates a property path on a given target object.classAFactoryBeanimplementation that returns a value which is a JSR-330Providerthat in turn returns a bean sourced from aBeanFactory.classAFactoryBeanimplementation that takes an interface which must have one or more methods with the signaturesMyType xxx()orMyType xxx(MyIdType id)(typically,MyService getService()orMyService getService(String id)) and creates a dynamic proxy which implements that interface, delegating to an underlyingBeanFactory.classSimple factory for shared Set instances.classFactory for aMapthat reads from a YAML source, preserving the YAML-declared value types and their structure.classFactory forPropertiesthat reads from a YAML source, exposing a flat structure of String property values. -
Uses of FactoryBean in org.springframework.beans.factory.serviceloader
Classes in org.springframework.beans.factory.serviceloader that implement FactoryBeanModifier and TypeClassDescriptionclassAbstract base class for FactoryBeans operating on the JDK 1.6ServiceLoaderfacility.classFactoryBeanthat exposes the 'primary' service for the configured service class, obtained through the JDK 1.6ServiceLoaderfacility.classFactoryBeanthat exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6ServiceLoaderfacility.classFactoryBeanthat exposes the JDK 1.6ServiceLoaderfor the configured service class. -
Uses of FactoryBean in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return FactoryBeanModifier and TypeMethodDescriptionprotected FactoryBean<?>FactoryBeanRegistrySupport.getFactoryBean(String beanName, Object beanInstance) Get a FactoryBean for the given bean if possible.Methods in org.springframework.beans.factory.support with parameters of type FactoryBeanModifier and TypeMethodDescriptionprotected ObjectFactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBean<?> factory, String beanName, boolean shouldPostProcess) Obtain an object to expose from the given FactoryBean.protected Class<?>FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBean<?> factoryBean) Determine the type for the given FactoryBean.