public static enum TypeResolutionStrategy.Active extends Enum<TypeResolutionStrategy.Active> implements TypeResolutionStrategy
LoadedTypeInitializer
as a part of class loading using reflection. This implies that the initializers
are executed before (as a first action of) a type initializer is executed.Modifier and Type | Class and Description |
---|---|
protected static class |
TypeResolutionStrategy.Active.Resolved
A resolved version of an active type resolution strategy.
|
TypeResolutionStrategy.Active, TypeResolutionStrategy.Disabled, TypeResolutionStrategy.Lazy, TypeResolutionStrategy.Passive
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
TypeResolutionStrategy.Resolved |
resolve()
Resolves a type resolution strategy for actual application.
|
String |
toString() |
static TypeResolutionStrategy.Active |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeResolutionStrategy.Active[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeResolutionStrategy.Active INSTANCE
public static TypeResolutionStrategy.Active[] values()
for (TypeResolutionStrategy.Active c : TypeResolutionStrategy.Active.values()) System.out.println(c);
public static TypeResolutionStrategy.Active 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 nullpublic TypeResolutionStrategy.Resolved resolve()
TypeResolutionStrategy
resolve
in interface TypeResolutionStrategy
public String toString()
toString
in class Enum<TypeResolutionStrategy.Active>
Copyright © 2014–2016. All rights reserved.