io.airlift.bootstrap
Class Bootstrap
java.lang.Object
io.airlift.bootstrap.Bootstrap
public class Bootstrap
- extends Object
Entry point for an application built using the platform codebase.
This class will:
- load, validate and bind configurations
- initialize logging
- set up bootstrap management
- create an Guice injector
|
Constructor Summary |
Bootstrap(com.google.inject.Module... modules)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bootstrap
public Bootstrap(com.google.inject.Module... modules)
strictConfig
public Bootstrap strictConfig()
initialize
public com.google.inject.Injector initialize()
throws Exception
- Throws:
Exception
Copyright © 2010-2012 Airlift. All Rights Reserved.