java.lang.Object | ||
↳ | org.springframework.core.enums.AbstractCachingLabeledEnumResolver | |
↳ | org.springframework.core.enums.StaticLabeledEnumResolver |
This class is deprecated.
as of Spring 3.0, in favor of Java 5 enums.
LabeledEnumResolver
that resolves statically defined enumerations.
Static implies all enum instances were defined within Java code,
implementing the type-safe enum pattern.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.enums.AbstractCachingLabeledEnumResolver
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the shared
StaticLabeledEnumResolver singleton instance. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Template method to be implemented by subclasses.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.enums.AbstractCachingLabeledEnumResolver
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.core.enums.LabeledEnumResolver
|
Return the shared StaticLabeledEnumResolver
singleton instance.
Mainly for resolving unique StaticLabeledEnum references on deserialization.
Template method to be implemented by subclasses. Supposed to find all LabeledEnum instances for the given type.
type | the enum type |
---|