public enum EchoContext extends Enum<EchoContext>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
EchoConfig |
getConfiguration()
Access application wide configuration object
|
com.google.common.util.concurrent.ListeningExecutorService |
getExecutorService()
Access application wide executor service
|
com.google.inject.Injector |
getInjector()
Access to the Guice injector object
|
void |
init() |
void |
reloadConfigurations(String userConfigurationPath) |
static EchoContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EchoContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EchoContext INSTANCE
public static EchoContext[] values()
for (EchoContext c : EchoContext.values()) System.out.println(c);
public static EchoContext valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void init()
throws ReflectiveOperationException,
StorageInitFailed
public void reloadConfigurations(String userConfigurationPath)
public com.google.inject.Injector getInjector()
public EchoConfig getConfiguration()
public com.google.common.util.concurrent.ListeningExecutorService getExecutorService()
Copyright © 2015. All rights reserved.