@CompileStatic public class EnvironmentBuilder extends Object implements ConfigurationReader, Supplier<Environment>, groovy.lang.GroovyObject
| Constructor and Description |
|---|
EnvironmentBuilder(Properties props) |
| Modifier and Type | Method and Description |
|---|---|
DispatcherConfiguration |
dispatcher(String name,
groovy.lang.Closure c) |
Dispatcher |
dispatcher(String name,
Dispatcher d) |
Environment |
get()
Get an object.
|
String |
getDefaultDispatcher() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
ReactorConfiguration |
read()
Reads the configuration
|
void |
setDefaultDispatcher(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public EnvironmentBuilder(Properties props)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic String getDefaultDispatcher()
public void setDefaultDispatcher(String value)
public Environment get()
Supplierget in interface Supplier<Environment>public ReactorConfiguration read()
ConfigurationReaderread in interface ConfigurationReadernull.public DispatcherConfiguration dispatcher(String name, @DelegatesTo(strategy=1,value=DispatcherConfigurationBuilder.class) groovy.lang.Closure c)
public Dispatcher dispatcher(String name, Dispatcher d)
Copyright © 2016. All rights reserved.