public abstract class AbstractApp
extends com.google.inject.AbstractModule
| Modifier and Type | Field and Description |
|---|---|
protected AepEngine |
_engine |
protected HttpServer |
_httpServer |
protected com.google.inject.Injector |
_injector |
protected Tracer |
_tracer |
static int |
DEFAULT_PORT |
protected Tracer |
TRACER |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractApp(String coreAppName,
String appName,
String appNameForConfig,
int appPart)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAppGuiceModule(String moduleClassName,
Set<com.google.inject.AbstractModule> modules) |
protected void |
configure()
Guice module configurer
|
protected abstract void |
doAddGuiceModules(Set<com.google.inject.AbstractModule> modules)
Invoked to add service specific guice modules during initialization
|
void |
onEngineStarted(AepEngineStartedEvent event) |
void |
onEngineStopped(AepEngineStoppedEvent event) |
void |
onMessagingPrestart(AepMessagingPrestartEvent event) |
void |
setAppEngine(AepEngine engine)
App engine injector
|
void |
setAppLoader(SrvAppLoader loader)
App loader injector
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding@Inject protected Tracer _tracer
@Inject protected HttpServer _httpServer
protected final Tracer TRACER
protected AepEngine _engine
protected com.google.inject.Injector _injector
public static final int DEFAULT_PORT
protected abstract void doAddGuiceModules(Set<com.google.inject.AbstractModule> modules)
protected final void addAppGuiceModule(String moduleClassName, Set<com.google.inject.AbstractModule> modules)
public final void setAppEngine(AepEngine engine) throws Exception
Exceptionpublic final void onEngineStarted(AepEngineStartedEvent event)
public final void onMessagingPrestart(AepMessagingPrestartEvent event)
public final void onEngineStopped(AepEngineStoppedEvent event)
protected void configure()
configure in class com.google.inject.AbstractModulepublic final void setAppLoader(SrvAppLoader loader) throws Exception
ExceptionCopyright © 2016 Neeve Research, LLC. All Rights Reserved.