| Modifier and Type | Field and Description |
|---|---|
| public static final Stage | DEVELOPMENT
We want fast startup times at the expense of runtime performance and some up front error checking. |
| public static final Stage | PRODUCTION
We want to catch errors as early as possible and take performance hits up front. |
| public static final Stage | TOOL
We're running in a tool (an IDE plugin for example). |
| Access | Constructor and Description |
|---|---|
| private |
| DEVELOPMENT | back to summary |
|---|---|
| public static final Stage DEVELOPMENT We want fast startup times at the expense of runtime performance and some up front error checking. | |
| PRODUCTION | back to summary |
|---|---|
| public static final Stage PRODUCTION We want to catch errors as early as possible and take performance hits up front. | |
| TOOL | back to summary |
|---|---|
| public static final Stage TOOL We're running in a tool (an IDE plugin for example). We need binding meta data but not a functioning Injector. Do not inject members of instances. Do not load eager singletons. Do as little as possible so our tools run nice and snappy. Injectors created in this stage cannot be used to satisfy injections. | |
| Stage | back to summary |
|---|---|
| private Stage() | |
| valueOf | back to summary |
|---|---|
| public static Stage valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Stage[] values() | |