public abstract class Bootstrap extends AppConfig
app.config.AppBootstrap
. This class is called by the framework during initialization.AbstractDBConfig
,
AbstractControllerConfig
Constructor and Description |
---|
Bootstrap() |
Modifier and Type | Method and Description |
---|---|
void |
destroy(AppContext context)
Called when application is destroyed (un-deployed).
|
abstract void |
init(AppContext context)
Called when application is bootstraps.
|
protected void |
registerTag(String name,
FreeMarkerTag tag)
Deprecated.
|
void |
setInjector(com.google.inject.Injector injector) |
completeInit
@Deprecated protected void registerTag(String name, FreeMarkerTag tag)
public abstract void init(AppContext context)
public void destroy(AppContext context)
context
- app context instancepublic void setInjector(com.google.inject.Injector injector)
Copyright © 2016. All rights reserved.