public class EnvironmentFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<reactor.core.Environment>
FactoryBean implementation that provides easy creation of Reactor a Environment.| Constructor and Description |
|---|
EnvironmentFactoryBean()
Create an EnvironmentFactoryBean with the default settings.
|
EnvironmentFactoryBean(reactor.core.configuration.ConfigurationReader configReader)
Create an EnvironmentFactoryBean using the given
ConfigurationReader. |
EnvironmentFactoryBean(java.lang.String profile)
Create an EnvironmentFactoryBean using the given profile name as the default Reactor profile.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.Environment |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
public EnvironmentFactoryBean()
public EnvironmentFactoryBean(java.lang.String profile)
profile - the Reactor profile to use as the defaultpublic EnvironmentFactoryBean(reactor.core.configuration.ConfigurationReader configReader)
ConfigurationReader.configReader - the ConfigurationReader to usepublic reactor.core.Environment getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<reactor.core.Environment>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<reactor.core.Environment>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<reactor.core.Environment>