public class ReactorFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<reactor.core.Reactor>
FactoryBean for creating a singleton Reactor.| Constructor and Description |
|---|
ReactorFactoryBean(reactor.core.Environment env)
Creates a new ReactorFactoryBean that will use the given environment when configuring
and creating its Reactor.
|
ReactorFactoryBean(reactor.core.Environment env,
java.lang.String dispatcher)
Creates a new ReactorFactoryBean that will use the given environment when configuring
and creating its Reactor and will configure the reactor with the dispatcher with
the given name found in the environment.
|
ReactorFactoryBean(reactor.core.Environment env,
java.lang.String dispatcher,
EventRouting eventRouting)
Creates a new ReactorFactoryBean that will use the given environment when configuring
and creating its Reactor and will configure the reactor with the dispatcher with
the given name found in the environment.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.Reactor |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
public ReactorFactoryBean(reactor.core.Environment env)
env - The environment to usepublic ReactorFactoryBean(reactor.core.Environment env,
java.lang.String dispatcher)
env - The environment to usedispatcher - The dispatcher to configure the Reactor withpublic ReactorFactoryBean(reactor.core.Environment env,
java.lang.String dispatcher,
EventRouting eventRouting)
eventRouting.env - The environment to usedispatcher - The dispatcher to configure the Reactor witheventRouting - The type of event routing to usepublic reactor.core.Reactor getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<reactor.core.Reactor>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<reactor.core.Reactor>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<reactor.core.Reactor>