Class ReactorResourceFactory
java.lang.Object
org.springframework.http.client.ReactorResourceFactory
org.springframework.http.client.reactive.ReactorResourceFactory
- All Implemented Interfaces:
- Aware,- DisposableBean,- InitializingBean,- ApplicationContextAware,- Lifecycle,- Phased,- SmartLifecycle
Deprecated.
Factory to manage Reactor Netty resources, i.e. 
LoopResources for
 event loop threads, and ConnectionProvider for the connection pool,
 within the lifecycle of a Spring ApplicationContext.
 This factory implements InitializingBean, DisposableBean
 and Lifecycle and is expected typically to be declared as a
 Spring-managed bean.
 
Notice that after a Lifecycle stop/restart, new instances of
 the configured LoopResources and ConnectionProvider are
 created, so any references to those should be updated.
- Since:
- 5.1
- Author:
- Rossen Stoyanchev, Brian Clozel, Sebastien Deleuze
- 
Field SummaryFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.springframework.http.client.ReactorResourceFactoryaddGlobalResourcesConsumer, afterPropertiesSet, destroy, getConnectionProvider, getLoopResources, getPhase, isRunning, isUseGlobalResources, setApplicationContext, setConnectionProvider, setConnectionProviderSupplier, setLoopResources, setLoopResourcesSupplier, setShutdownQuietPeriod, setShutdownTimeout, setUseGlobalResources, start, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycleisAutoStartup, stop
- 
Constructor Details- 
ReactorResourceFactorypublic ReactorResourceFactory()Deprecated.
 
- 
ReactorResourceFactoryinstead.