public abstract class AbstractApplicationBootstrapper extends Object implements ApplicationBootstrapper
ApplicationBootstrapper.Key
Modifier and Type | Field and Description |
---|---|
protected GriffonApplication |
application |
Constructor and Description |
---|
AbstractApplicationBootstrapper(GriffonApplication application) |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
protected void |
collectModuleBindings(Collection<Module> modules) |
protected void |
createApplicationModule(List<Module> modules) |
protected Iterable<Binding<?>> |
createBindings() |
protected abstract List<Module> |
loadModules() |
void |
run() |
protected final GriffonApplication application
public AbstractApplicationBootstrapper(@Nonnull GriffonApplication application)
public void bootstrap() throws Exception
bootstrap
in interface ApplicationBootstrapper
Exception
public void run()
run
in interface ApplicationBootstrapper
protected void collectModuleBindings(@Nonnull Collection<Module> modules)