public enum StandardResolutionType extends Enum<StandardResolutionType> implements ResolutionType
| Enum Constant and Description |
|---|
REQUEST_SCOPED
A request-scoped instance is requested (i.e.
|
REQUEST_SCOPED_IF_HAS_DEPENDENCIES
Request-scoped, if all dependencies already exist.
|
SINGLETON
The singleton instance of the class is requested.
|
| Modifier and Type | Method and Description |
|---|---|
static StandardResolutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardResolutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardResolutionType SINGLETON
public static final StandardResolutionType REQUEST_SCOPED
public static final StandardResolutionType REQUEST_SCOPED_IF_HAS_DEPENDENCIES
public static StandardResolutionType[] values()
for (StandardResolutionType c : StandardResolutionType.values()) System.out.println(c);
public static StandardResolutionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.