Uses of Interface
org.springframework.beans.factory.FactoryBean
Package
Description
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
Support for AOP-based scoping of target objects, with configurable backend.
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.Implementation package for
java.util.concurrent
based caches.AOP-based solution for declarative caching demarcation.
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Integration with the JSR-310
java.time
package in JDK 8.Support classes for the formatting package,
providing common implementations as well as adapters.
This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
Provides HttpMessageConverter implementations for handling JSON.
Provides generic support classes for JCA usage within Spring,
mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.
Defines the Spring JDBC configuration namespace.
Provides extensible support for creating embedded database instances.
Provides support for accessing remote MBean resources.
Contains support classes for connecting to local and remote
MBeanServer
s
and for exposing an MBeanServer
to remote clients.The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
Classes supporting the
org.springframework.orm.jpa
package.Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent
packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Support package for declarative transaction configuration,
with XML schema being the primary configuration format.
AOP-based solution for declarative transaction demarcation.
Support classes for setting up
FreeMarker
within a Spring application context.
This package contains classes used to determine the requested the media types in a request.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Client-side classes for use with standard Jakarta WebSocket endpoints.
Server-side classes for use with standard JSR-356 WebSocket endpoints.
-
Uses of FactoryBean in org.springframework.aop.config
Modifier and TypeClassDescriptionclass
FactoryBean
implementation that locates aMethod
on a specified bean. -
Uses of FactoryBean in org.springframework.aop.framework
Modifier and TypeClassDescriptionclass
Convenient superclass forFactoryBean
types that produce singleton-scoped proxy objects.class
FactoryBean
implementation that builds an AOP proxy based on beans in a SpringBeanFactory
. -
Uses of FactoryBean in org.springframework.aop.scope
Modifier and TypeClassDescriptionclass
Convenient proxy factory bean for scoped objects. -
Uses of FactoryBean in org.springframework.beans.factory
-
Uses of FactoryBean in org.springframework.beans.factory.config
Modifier and TypeClassDescriptionclass
Simple template superclass forFactoryBean
implementations that creates a singleton or a prototype object, depending on a flag.class
FactoryBean
which retrieves a static or non-static field value.class
Simple factory for shared List instances.class
Simple factory for shared Map instances.class
FactoryBean
which returns a value which is the result of a static or instance method invocation.class
AFactoryBean
implementation that returns a value which is anObjectFactory
that in turn returns a bean sourced from aBeanFactory
.class
Allows for making a properties file from a classpath location available as Properties instance in a bean factory.class
FactoryBean
that evaluates a property path on a given target object.class
AFactoryBean
implementation that returns a value which is a JSR-330Provider
that in turn returns a bean sourced from aBeanFactory
.class
AFactoryBean
implementation 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
.class
Simple factory for shared Set instances.class
Factory for aMap
that reads from a YAML source, preserving the YAML-declared value types and their structure.class
Factory forProperties
that reads from a YAML source, exposing a flat structure of String property values. -
Uses of FactoryBean in org.springframework.beans.factory.serviceloader
Modifier and TypeClassDescriptionclass
Abstract base class for FactoryBeans operating on the JDK 1.6ServiceLoader
facility.class
FactoryBean
that exposes the 'primary' service for the configured service class, obtained through the JDK 1.6ServiceLoader
facility.class
FactoryBean
that exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6ServiceLoader
facility.class
FactoryBean
that exposes the JDK 1.6ServiceLoader
for the configured service class. -
Uses of FactoryBean in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionprotected FactoryBean<?>
FactoryBeanRegistrySupport.getFactoryBean
(String beanName, Object beanInstance) Get a FactoryBean for the given bean if possible.Modifier and TypeMethodDescriptionprotected Object
FactoryBeanRegistrySupport.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. -
Uses of FactoryBean in org.springframework.cache.concurrent
Modifier and TypeClassDescriptionclass
FactoryBean
for easy configuration of aConcurrentMapCache
when used within a Spring container. -
Uses of FactoryBean in org.springframework.cache.interceptor
Modifier and TypeClassDescriptionclass
Proxy factory bean for simplified declarative caching handling. -
Uses of FactoryBean in org.springframework.cache.jcache
Modifier and TypeClassDescriptionclass
FactoryBean
for a JCachejavax.cache.CacheManager
, obtaining a pre-definedCacheManager
by name through the standard JCachejavax.cache.Caching
class. -
Uses of FactoryBean in org.springframework.context.support
Modifier and TypeClassDescriptionclass
A factory providing convenient access to a ConversionService configured with converters appropriate for most environments. -
Uses of FactoryBean in org.springframework.format.datetime.standard
-
Uses of FactoryBean in org.springframework.format.support
Modifier and TypeClassDescriptionclass
A factory providing convenient access to aFormattingConversionService
configured with converters and formatters for common types such as numbers and datetimes. -
Uses of FactoryBean in org.springframework.http.client.support
-
Uses of FactoryBean in org.springframework.http.converter.json
Modifier and TypeClassDescriptionclass
AFactoryBean
for creating a Google Gson 2.xGson
instance.class
AFactoryBean
for creating a Jackson 2.xObjectMapper
(default) orXmlMapper
(createXmlMapper
property set to true) with setters to enable or disable Jackson features from within XML configuration. -
Uses of FactoryBean in org.springframework.jca.support
Modifier and TypeClassDescriptionclass
FactoryBean
that creates a local JCA connection factory in "non-managed" mode (as defined by the Java Connector Architecture specification).class
FactoryBean
that bootstraps the specified JCA 1.7ResourceAdapter
, starting it with a localBootstrapContext
and exposing it for bean references. -
Uses of FactoryBean in org.springframework.jdbc.config
Modifier and TypeClassDescriptionclass
FactoryBean
implementation that takes a list of location Strings and creates a sorted array ofResource
instances. -
Uses of FactoryBean in org.springframework.jdbc.datasource.embedded
Modifier and TypeClassDescriptionclass
A subclass ofEmbeddedDatabaseFactory
that implementsFactoryBean
for registration as a Spring bean. -
Uses of FactoryBean in org.springframework.jmx.access
Modifier and TypeClassDescriptionclass
Creates a proxy to a managed resource running either locally or remotely. -
Uses of FactoryBean in org.springframework.jmx.support
Modifier and TypeClassDescriptionclass
FactoryBean
that creates a JSR-160JMXConnectorServer
, optionally registers it with theMBeanServer
, and then starts it.class
FactoryBean
that creates a JMX 1.2MBeanServerConnection
to a remoteMBeanServer
exposed via aJMXServerConnector
.class
FactoryBean
that obtains aMBeanServer
reference through the standard JMX 1.2MBeanServerFactory
API. -
Uses of FactoryBean in org.springframework.jndi
-
Uses of FactoryBean in org.springframework.orm.hibernate5
-
Uses of FactoryBean in org.springframework.orm.jpa
Modifier and TypeClassDescriptionclass
AbstractFactoryBean
that creates a local JPAEntityManagerFactory
instance within a Spring application context.class
FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard container bootstrap contract.class
FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard standalone bootstrap contract. -
Uses of FactoryBean in org.springframework.orm.jpa.support
Modifier and TypeClassDescriptionclass
FactoryBean
that exposes a shared JPAEntityManager
reference for a given EntityManagerFactory. -
Uses of FactoryBean in org.springframework.scheduling.concurrent
Modifier and TypeClassDescriptionclass
A SpringFactoryBean
that builds and exposes a preconfiguredForkJoinPool
.class
FactoryBean
that sets up aScheduledExecutorService
(by default: aScheduledThreadPoolExecutor
) and exposes it for bean references.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorService
type. -
Uses of FactoryBean in org.springframework.scheduling.config
Modifier and TypeClassDescriptionclass
FactoryBean
for creatingThreadPoolTaskExecutor
instances, primarily used behind the XML task namespace. -
Uses of FactoryBean in org.springframework.scheduling.quartz
Modifier and TypeClassDescriptionclass
A SpringFactoryBean
for creating a QuartzCronTrigger
instance, supporting bean-style usage for trigger configuration.class
A SpringFactoryBean
for creating a QuartzJobDetail
instance, supporting bean-style usage for JobDetail configuration.class
FactoryBean
that exposes aJobDetail
object which delegates job execution to a specified (static or non-static) method.class
FactoryBean
that creates and configures a QuartzScheduler
, manages its lifecycle as part of the Spring application context, and exposes the Scheduler as bean reference for dependency injection.class
A SpringFactoryBean
for creating a QuartzSimpleTrigger
instance, supporting bean-style usage for trigger configuration. -
Uses of FactoryBean in org.springframework.transaction.config
-
Uses of FactoryBean in org.springframework.transaction.interceptor
Modifier and TypeClassDescriptionclass
Proxy factory bean for simplified declarative transaction handling. -
Uses of FactoryBean in org.springframework.ui.freemarker
Modifier and TypeClassDescriptionclass
Factory bean that creates a FreeMarker Configuration and provides it as bean reference. -
Uses of FactoryBean in org.springframework.web.accept
Modifier and TypeClassDescriptionclass
Factory to create aContentNegotiationManager
and configure it withContentNegotiationStrategy
instances. -
Uses of FactoryBean in org.springframework.web.context.support
Modifier and TypeClassDescriptionclass
FactoryBean
that fetches a specific, existing ServletContext attribute.class
FactoryBean
that retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml
). -
Uses of FactoryBean in org.springframework.web.socket.client.standard
Modifier and TypeClassDescriptionclass
A FactoryBean for creating and configuring aWebSocketContainer
through Spring XML configuration. -
Uses of FactoryBean in org.springframework.web.socket.server.standard
JtaTransactionManager
definition