org.springframework.core.enums
Class StaticLabeledEnumResolver
java.lang.Object
   org.springframework.core.enums.AbstractCachingLabeledEnumResolver
org.springframework.core.enums.AbstractCachingLabeledEnumResolver
       org.springframework.core.enums.StaticLabeledEnumResolver
org.springframework.core.enums.StaticLabeledEnumResolver
- All Implemented Interfaces: 
- LabeledEnumResolver
- public class StaticLabeledEnumResolver 
- extends AbstractCachingLabeledEnumResolver
LabeledEnumResolver that resolves statically defined enumerations.
 Static implies all enum instances were defined within Java code,
 implementing the type-safe enum pattern.
- Since:
- 1.2.2
- Author:
- Keith Donald, Juergen Hoeller
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StaticLabeledEnumResolver
public StaticLabeledEnumResolver()
instance
public static StaticLabeledEnumResolver instance()
- Return the shared StaticLabeledEnumResolversingleton instance.
 Mainly for resolving unique StaticLabeledEnum references on deserialization.
 
- 
- See Also:
- StaticLabeledEnum
 
findLabeledEnums
protected Set findLabeledEnums(Class type)
- Description copied from class: AbstractCachingLabeledEnumResolver
- Template method to be implemented by subclasses.
 Supposed to find all LabeledEnum instances for the given type.
 
- 
- Specified by:
- findLabeledEnumsin class- AbstractCachingLabeledEnumResolver
 
- 
- Parameters:
- type- the enum type
- Returns:
- the Set of LabeledEnum instances
- See Also:
- LabeledEnum
 
Copyright © 2002-2008 The Spring Framework.