接口的使用
org.springframework.beans.factory.FactoryBean
使用FactoryBean的程序包 程序包 说明 org.springframework.aop.config Support package for declarative AOP configuration, with XML schema being the primary configuration format.org.springframework.aop.framework Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.org.springframework.aop.scope Support for AOP-based scoping of target objects, with configurable backend.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.serviceloader Support package for the Java 6 ServiceLoader facility.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factorypackage.org.springframework.cache.concurrent Implementation package forjava.util.concurrentbased caches.org.springframework.cache.ehcache Support classes for the open source cache EhCache 2.x, allowing to set up an EhCache CacheManager and Caches as beans in a Spring context.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache Implementation package for JSR-107 (javax.cache aka "JCache") based caches.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.ejb.access This package contains classes that allow easy access to EJBs.org.springframework.format.datetime.joda Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.org.springframework.format.datetime.standard Integration with the JSR-310java.timepackage in JDK 8.org.springframework.format.support Support classes for the formatting package, providing common implementations as well as adapters.org.springframework.http.client.support This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.org.springframework.http.converter.json Provides HttpMessageConverter implementations for handling JSON.org.springframework.jca.support Provides generic support classes for JCA usage within Spring, mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.org.springframework.jdbc.config Defines the Spring JDBC configuration namespace.org.springframework.jdbc.datasource.embedded Provides extensible support for creating embedded database instances.org.springframework.jms.remoting Remoting classes for transparent Java-to-Java remoting via a JMS provider.org.springframework.jmx.access Provides support for accessing remote MBean resources.org.springframework.jmx.support Contains support classes for connecting to local and remoteMBeanServers and for exposing anMBeanServerto remote clients.org.springframework.jndi 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.org.springframework.orm.hibernate5 Package providing integration of Hibernate 5.x with Spring concepts.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.orm.jpa.support Classes supporting theorg.springframework.orm.jpapackage.org.springframework.orm.jpa.vendor Support classes for adapting to specific JPA vendors.org.springframework.remoting.caucho This package provides remoting classes for Caucho's Hessian protocol: a proxy factory for accessing Hessian services, and an exporter for making beans available to Hessian clients.org.springframework.remoting.httpinvoker Remoting classes for transparent Java-to-Java remoting via HTTP invokers.org.springframework.remoting.jaxws Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC), as included in Java 6 and Java EE 5.org.springframework.remoting.rmi Remoting classes for conventional RMI and transparent remoting via RMI invokers.org.springframework.remoting.support Generic support classes for remoting implementations.org.springframework.scheduling.commonj Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.org.springframework.scheduling.concurrent Scheduling convenience classes for thejava.util.concurrentandjavax.enterprise.concurrentpackages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.org.springframework.scheduling.config Support package for declarative scheduling configuration, with XML schema being the primary configuration format.org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.transaction.config Support package for declarative transaction configuration, with XML schema being the primary configuration format.org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.ui.freemarker Support classes for setting up FreeMarker within a Spring application context.org.springframework.web.accept This package contains classes used to determine the requested the media types in a request.org.springframework.web.context.support Classes supporting theorg.springframework.web.contextpackage, such as WebApplicationContext implementations and various utility classes.org.springframework.web.socket.client.standard Client-side classes for use with standard Java WebSocket endpoints.org.springframework.web.socket.server.standard Server-side classes for use with standard JSR-356 WebSocket endpoints.org.springframework.aop.config中FactoryBean的使用
实现FactoryBean的org.springframework.aop.config中的类 修饰符和类型 类 说明 classMethodLocatingFactoryBeanFactoryBeanimplementation that locates aMethodon a specified bean.org.springframework.aop.framework中FactoryBean的使用
实现FactoryBean的org.springframework.aop.framework中的类 修饰符和类型 类 说明 classAbstractSingletonProxyFactoryBeanConvenient superclass forFactoryBeantypes that produce singleton-scoped proxy objects.classProxyFactoryBeanFactoryBeanimplementation that builds an AOP proxy based on beans in SpringBeanFactory.org.springframework.aop.scope中FactoryBean的使用
实现FactoryBean的org.springframework.aop.scope中的类 修饰符和类型 类 说明 classScopedProxyFactoryBeanConvenient proxy factory bean for scoped objects.org.springframework.beans.factory中FactoryBean的使用
org.springframework.beans.factory中FactoryBean的子接口 修饰符和类型 接口 说明 interfaceSmartFactoryBean<T>Extension of theFactoryBeaninterface.org.springframework.beans.factory.config中FactoryBean的使用
实现FactoryBean的org.springframework.beans.factory.config中的类 修饰符和类型 类 说明 classAbstractFactoryBean<T>Simple template superclass forFactoryBeanimplementations that creates a singleton or a prototype object, depending on a flag.classFieldRetrievingFactoryBeanFactoryBeanwhich retrieves a static or non-static field value.classListFactoryBeanSimple factory for shared List instances.classMapFactoryBeanSimple factory for shared Map instances.classMethodInvokingFactoryBeanFactoryBeanwhich returns a value which is the result of a static or instance method invocation.classObjectFactoryCreatingFactoryBeanAFactoryBeanimplementation that returns a value which is anObjectFactorythat in turn returns a bean sourced from aBeanFactory.classPropertiesFactoryBeanAllows for making a properties file from a classpath location available as Properties instance in a bean factory.classPropertyPathFactoryBeanFactoryBeanthat evaluates a property path on a given target object.classProviderCreatingFactoryBeanAFactoryBeanimplementation that returns a value which is a JSR-330Providerthat in turn returns a bean sourced from aBeanFactory.classServiceLocatorFactoryBeanAFactoryBeanimplementation 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.classSetFactoryBeanSimple factory for shared Set instances.classYamlMapFactoryBeanFactory for aMapthat reads from a YAML source, preserving the YAML-declared value types and their structure.classYamlPropertiesFactoryBeanFactory forPropertiesthat reads from a YAML source, exposing a flat structure of String property values.org.springframework.beans.factory.serviceloader中FactoryBean的使用
实现FactoryBean的org.springframework.beans.factory.serviceloader中的类 修饰符和类型 类 说明 classAbstractServiceLoaderBasedFactoryBeanAbstract base class for FactoryBeans operating on the JDK 1.6ServiceLoaderfacility.classServiceFactoryBeanFactoryBeanthat exposes the 'primary' service for the configured service class, obtained through the JDK 1.6ServiceLoaderfacility.classServiceListFactoryBeanFactoryBeanthat exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6ServiceLoaderfacility.classServiceLoaderFactoryBeanFactoryBeanthat exposes the JDK 1.6ServiceLoaderfor the configured service class.org.springframework.beans.factory.support中FactoryBean的使用
返回FactoryBean的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected FactoryBean<?>FactoryBeanRegistrySupport. getFactoryBean(String beanName, Object beanInstance)Get a FactoryBean for the given bean if possible.参数类型为FactoryBean的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected 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.org.springframework.cache.concurrent中FactoryBean的使用
实现FactoryBean的org.springframework.cache.concurrent中的类 修饰符和类型 类 说明 classConcurrentMapCacheFactoryBeanFactoryBeanfor easy configuration of aConcurrentMapCachewhen used within a Spring container.org.springframework.cache.ehcache中FactoryBean的使用
实现FactoryBean的org.springframework.cache.ehcache中的类 修饰符和类型 类 说明 classEhCacheFactoryBeanFactoryBeanthat creates a named EhCacheCacheinstance (or a decorator that implements theEhcacheinterface), representing a cache region within an EhCacheCacheManager.classEhCacheManagerFactoryBeanFactoryBeanthat exposes an EhCacheCacheManagerinstance (independent or shared), configured from a specified config location.org.springframework.cache.interceptor中FactoryBean的使用
实现FactoryBean的org.springframework.cache.interceptor中的类 修饰符和类型 类 说明 classCacheProxyFactoryBeanProxy factory bean for simplified declarative caching handling.org.springframework.cache.jcache中FactoryBean的使用
实现FactoryBean的org.springframework.cache.jcache中的类 修饰符和类型 类 说明 classJCacheManagerFactoryBeanFactoryBeanfor a JCachejavax.cache.CacheManager, obtaining a pre-definedCacheManagerby name through the standard JCachejavax.cache.Cachingclass.org.springframework.context.support中FactoryBean的使用
实现FactoryBean的org.springframework.context.support中的类 修饰符和类型 类 说明 classConversionServiceFactoryBeanA factory providing convenient access to a ConversionService configured with converters appropriate for most environments.org.springframework.ejb.access中FactoryBean的使用
实现FactoryBean的org.springframework.ejb.access中的类 修饰符和类型 类 说明 classLocalStatelessSessionProxyFactoryBeanConvenientFactoryBeanfor local Stateless Session Bean (SLSB) proxies.classSimpleRemoteStatelessSessionProxyFactoryBeanConvenientFactoryBeanfor remote SLSB proxies.org.springframework.format.datetime.joda中FactoryBean的使用
实现FactoryBean的org.springframework.format.datetime.joda中的类 修饰符和类型 类 说明 classDateTimeFormatterFactoryBeanFactoryBeanthat creates a Joda-TimeDateTimeFormatter.org.springframework.format.datetime.standard中FactoryBean的使用
实现FactoryBean的org.springframework.format.datetime.standard中的类 修饰符和类型 类 说明 classDateTimeFormatterFactoryBeanFactoryBeanthat creates a JSR-310DateTimeFormatter.org.springframework.format.support中FactoryBean的使用
实现FactoryBean的org.springframework.format.support中的类 修饰符和类型 类 说明 classFormattingConversionServiceFactoryBeanA factory providing convenient access to aFormattingConversionServiceconfigured with converters and formatters for common types such as numbers and datetimes.org.springframework.http.client.support中FactoryBean的使用
实现FactoryBean的org.springframework.http.client.support中的类 修饰符和类型 类 说明 classProxyFactoryBeanFactoryBeanthat creates ajava.net.Proxy.org.springframework.http.converter.json中FactoryBean的使用
实现FactoryBean的org.springframework.http.converter.json中的类 修饰符和类型 类 说明 classGsonFactoryBeanAFactoryBeanfor creating a Google Gson 2.xGsoninstance.classJackson2ObjectMapperFactoryBeanAFactoryBeanfor creating a Jackson 2.xObjectMapper(default) orXmlMapper(createXmlMapperproperty set to true) with setters to enable or disable Jackson features from within XML configuration.org.springframework.jca.support中FactoryBean的使用
实现FactoryBean的org.springframework.jca.support中的类 修饰符和类型 类 说明 classLocalConnectionFactoryBeanFactoryBeanthat creates a local JCA connection factory in "non-managed" mode (as defined by the Java Connector Architecture specification).classResourceAdapterFactoryBeanFactoryBeanthat bootstraps the specified JCA 1.7ResourceAdapter, starting it with a localBootstrapContextand exposing it for bean references.org.springframework.jdbc.config中FactoryBean的使用
实现FactoryBean的org.springframework.jdbc.config中的类 修饰符和类型 类 说明 classSortedResourcesFactoryBeanFactoryBeanimplementation that takes a list of location Strings and creates a sorted array ofResourceinstances.org.springframework.jdbc.datasource.embedded中FactoryBean的使用
实现FactoryBean的org.springframework.jdbc.datasource.embedded中的类 修饰符和类型 类 说明 classEmbeddedDatabaseFactoryBeanA subclass ofEmbeddedDatabaseFactorythat implementsFactoryBeanfor registration as a Spring bean.org.springframework.jms.remoting中FactoryBean的使用
实现FactoryBean的org.springframework.jms.remoting中的类 修饰符和类型 类 说明 classJmsInvokerProxyFactoryBeanFactoryBean for JMS invoker proxies.org.springframework.jmx.access中FactoryBean的使用
实现FactoryBean的org.springframework.jmx.access中的类 修饰符和类型 类 说明 classMBeanProxyFactoryBeanCreates a proxy to a managed resource running either locally or remotely.org.springframework.jmx.support中FactoryBean的使用
实现FactoryBean的org.springframework.jmx.support中的类 修饰符和类型 类 说明 classConnectorServerFactoryBeanFactoryBeanthat creates a JSR-160JMXConnectorServer, optionally registers it with theMBeanServer, and then starts it.classMBeanServerConnectionFactoryBeanFactoryBeanthat creates a JMX 1.2MBeanServerConnectionto a remoteMBeanServerexposed via aJMXServerConnector.classMBeanServerFactoryBeanFactoryBeanthat obtains aMBeanServerreference through the standard JMX 1.2MBeanServerFactoryAPI.classWebSphereMBeanServerFactoryBeanFactoryBeanthat obtains a WebSphereMBeanServerreference through WebSphere's proprietaryAdminServiceFactoryAPI, available on WebSphere 5.1 and higher.org.springframework.jndi中FactoryBean的使用
实现FactoryBean的org.springframework.jndi中的类 修饰符和类型 类 说明 classJndiObjectFactoryBeanFactoryBeanthat looks up a JNDI object.org.springframework.orm.hibernate5中FactoryBean的使用
实现FactoryBean的org.springframework.orm.hibernate5中的类 修饰符和类型 类 说明 classLocalSessionFactoryBeanFactoryBeanthat creates a HibernateSessionFactory.org.springframework.orm.jpa中FactoryBean的使用
实现FactoryBean的org.springframework.orm.jpa中的类 修饰符和类型 类 说明 classAbstractEntityManagerFactoryBeanAbstractFactoryBeanthat creates a local JPAEntityManagerFactoryinstance within a Spring application context.classLocalContainerEntityManagerFactoryBeanFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard container bootstrap contract.classLocalEntityManagerFactoryBeanFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard standalone bootstrap contract.org.springframework.orm.jpa.support中FactoryBean的使用
实现FactoryBean的org.springframework.orm.jpa.support中的类 修饰符和类型 类 说明 classSharedEntityManagerBeanFactoryBeanthat exposes a shared JPAEntityManagerreference for a given EntityManagerFactory.org.springframework.orm.jpa.vendor中FactoryBean的使用
实现FactoryBean的org.springframework.orm.jpa.vendor中的类 修饰符和类型 类 说明 classHibernateJpaSessionFactoryBean已过时。as of Spring Framework 4.3.12 against Hibernate 5.2, in favor of a custom solution based onEntityManagerFactory.unwrap(java.lang.Class<T>)with explicit qualifiers and/or primary markersorg.springframework.remoting.caucho中FactoryBean的使用
实现FactoryBean的org.springframework.remoting.caucho中的类 修饰符和类型 类 说明 classHessianProxyFactoryBeanFactoryBeanfor Hessian proxies.org.springframework.remoting.httpinvoker中FactoryBean的使用
实现FactoryBean的org.springframework.remoting.httpinvoker中的类 修饰符和类型 类 说明 classHttpInvokerProxyFactoryBeanFactoryBeanfor HTTP invoker proxies.org.springframework.remoting.jaxws中FactoryBean的使用
实现FactoryBean的org.springframework.remoting.jaxws中的类 修饰符和类型 类 说明 classJaxWsPortProxyFactoryBeanFactoryBeanfor a specific port of a JAX-WS service.classLocalJaxWsServiceFactoryBeanFactoryBeanfor locally defined JAX-WS Service references.org.springframework.remoting.rmi中FactoryBean的使用
实现FactoryBean的org.springframework.remoting.rmi中的类 修饰符和类型 类 说明 classJndiRmiProxyFactoryBeanFactoryBeanfor RMI proxies from JNDI.classRmiProxyFactoryBeanFactoryBeanfor RMI proxies, supporting both conventional RMI services and RMI invokers.classRmiRegistryFactoryBeanFactoryBeanthat locates aRegistryand exposes it for bean references.org.springframework.remoting.support中FactoryBean的使用
实现FactoryBean的org.springframework.remoting.support中的类 修饰符和类型 类 说明 classSimpleHttpServerFactoryBean已过时。as of Spring Framework 5.1, in favor of embedded Tomcat/Jetty/Undertoworg.springframework.scheduling.commonj中FactoryBean的使用
实现FactoryBean的org.springframework.scheduling.commonj中的类 修饰符和类型 类 说明 classTimerManagerFactoryBean已过时。as of 5.1, in favor of EE 7'sDefaultManagedTaskSchedulerorg.springframework.scheduling.concurrent中FactoryBean的使用
实现FactoryBean的org.springframework.scheduling.concurrent中的类 修饰符和类型 类 说明 classForkJoinPoolFactoryBeanA SpringFactoryBeanthat builds and exposes a preconfiguredForkJoinPool.classScheduledExecutorFactoryBeanFactoryBeanthat sets up aScheduledExecutorService(by default: aScheduledThreadPoolExecutor) and exposes it for bean references.classThreadPoolExecutorFactoryBeanJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorServicetype.org.springframework.scheduling.config中FactoryBean的使用
实现FactoryBean的org.springframework.scheduling.config中的类 修饰符和类型 类 说明 classTaskExecutorFactoryBeanFactoryBeanfor creatingThreadPoolTaskExecutorinstances, primarily used behind the XML task namespace.org.springframework.scheduling.quartz中FactoryBean的使用
实现FactoryBean的org.springframework.scheduling.quartz中的类 修饰符和类型 类 说明 classCronTriggerFactoryBeanA SpringFactoryBeanfor creating a QuartzCronTriggerinstance, supporting bean-style usage for trigger configuration.classJobDetailFactoryBeanA SpringFactoryBeanfor creating a QuartzJobDetailinstance, supporting bean-style usage for JobDetail configuration.classMethodInvokingJobDetailFactoryBeanFactoryBeanthat exposes aJobDetailobject which delegates job execution to a specified (static or non-static) method.classSchedulerFactoryBeanFactoryBeanthat 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.classSimpleTriggerFactoryBeanA SpringFactoryBeanfor creating a QuartzSimpleTriggerinstance, supporting bean-style usage for trigger configuration.org.springframework.transaction.config中FactoryBean的使用
实现FactoryBean的org.springframework.transaction.config中的类 修饰符和类型 类 说明 classJtaTransactionManagerFactoryBeanAFactoryBeanequivalent to the <tx:jta-transaction-manager/> XML element, autodetecting WebLogic and WebSphere servers and exposing the correspondingJtaTransactionManagersubclass.org.springframework.transaction.interceptor中FactoryBean的使用
实现FactoryBean的org.springframework.transaction.interceptor中的类 修饰符和类型 类 说明 classTransactionProxyFactoryBeanProxy factory bean for simplified declarative transaction handling.org.springframework.ui.freemarker中FactoryBean的使用
实现FactoryBean的org.springframework.ui.freemarker中的类 修饰符和类型 类 说明 classFreeMarkerConfigurationFactoryBeanFactory bean that creates a FreeMarker Configuration and provides it as bean reference.org.springframework.web.accept中FactoryBean的使用
实现FactoryBean的org.springframework.web.accept中的类 修饰符和类型 类 说明 classContentNegotiationManagerFactoryBeanFactory to create aContentNegotiationManagerand configure it withContentNegotiationStrategyinstances.org.springframework.web.context.support中FactoryBean的使用
实现FactoryBean的org.springframework.web.context.support中的类 修饰符和类型 类 说明 classServletContextAttributeFactoryBeanFactoryBeanthat fetches a specific, existing ServletContext attribute.classServletContextParameterFactoryBeanFactoryBeanthat retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml).org.springframework.web.socket.client.standard中FactoryBean的使用
实现FactoryBean的org.springframework.web.socket.client.standard中的类 修饰符和类型 类 说明 classWebSocketContainerFactoryBeanA FactoryBean for creating and configuring aWebSocketContainerthrough Spring XML configuration.org.springframework.web.socket.server.standard中FactoryBean的使用
实现FactoryBean的org.springframework.web.socket.server.standard中的类 修饰符和类型 类 说明 classServletServerContainerFactoryBeanAFactoryBeanfor configuringServerContainer.