|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
ObjectEnum<BuildinBundle>
se.jbee.inject.bind.BuildinBundle
public enum BuildinBundle
Installs all the build-in functionality by using the core API.
| Enum Constant Summary | |
|---|---|
COLLECTION
Adds: Collection can be injected instead of List (needs explicit List bind). |
|
LIST
Adds: Lists can be injected for all bound types (via array bridge) |
|
LOGGER
Adds: Loggers can be injected per receiving class. |
|
PROVIDER
Adds: Providers can be injected for all bound types. |
|
SET
Adds: Set can be injected for all bound types (via array bridge) |
|
| Method Summary | |
|---|---|
void |
bootstrap(Bootstrapper.ModularBootstrapper<BuildinBundle> bootstrap)
|
static BuildinBundle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BuildinBundle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BuildinBundle PROVIDER
Providers can be injected for all bound types.
public static final BuildinBundle LIST
Lists can be injected for all bound types (via array bridge)
public static final BuildinBundle SET
Set can be injected for all bound types (via array bridge)
public static final BuildinBundle COLLECTION
Collection can be injected instead of List (needs explicit List bind).
public static final BuildinBundle LOGGER
Loggers can be injected per receiving class.
| Method Detail |
|---|
public static BuildinBundle[] values()
for (BuildinBundle c : BuildinBundle.values()) System.out.println(c);
public static BuildinBundle valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic void bootstrap(Bootstrapper.ModularBootstrapper<BuildinBundle> bootstrap)
bootstrap in interface ModularBundle<BuildinBundle>bootstrap - the Bootstrapper.ModularBootstrapper this bundle should install itself in.
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||