|
spring-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.core.enums.AbstractCachingLabeledEnumResolver
org.springframework.core.enums.StaticLabeledEnumResolver
@Deprecated public class StaticLabeledEnumResolver
LabeledEnumResolver that resolves statically defined enumerations.
Static implies all enum instances were defined within Java code,
implementing the type-safe enum pattern.
| Field Summary |
|---|
| Fields inherited from class org.springframework.core.enums.AbstractCachingLabeledEnumResolver |
|---|
logger |
| Constructor Summary | |
|---|---|
StaticLabeledEnumResolver()
Deprecated. |
|
| Method Summary | |
|---|---|
protected java.util.Set<LabeledEnum> |
findLabeledEnums(java.lang.Class type)
Deprecated. Template method to be implemented by subclasses. |
static StaticLabeledEnumResolver |
instance()
Deprecated. Return the shared StaticLabeledEnumResolver singleton instance. |
| Methods inherited from class org.springframework.core.enums.AbstractCachingLabeledEnumResolver |
|---|
getLabeledEnumByCode, getLabeledEnumByLabel, getLabeledEnumMap, getLabeledEnumSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticLabeledEnumResolver()
| Method Detail |
|---|
public static StaticLabeledEnumResolver instance()
StaticLabeledEnumResolver singleton instance.
Mainly for resolving unique StaticLabeledEnum references on deserialization.
StaticLabeledEnumprotected java.util.Set<LabeledEnum> findLabeledEnums(java.lang.Class type)
AbstractCachingLabeledEnumResolver
findLabeledEnums in class AbstractCachingLabeledEnumResolvertype - the enum type
LabeledEnum
|
spring-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||