Package host.anzo.core.service
Class CachedEnumService
java.lang.Object
host.anzo.core.service.CachedEnumService
The CachedEnumService class is responsible for managing cached enum values
that are annotated with the CachedEnum annotation. It initializes the cache
by scanning for classes that are annotated and implements the ICachedEnum interface.
- Since:
- 12/18/2024
-
Method Summary
Modifier and TypeMethodDescriptiongetEnumValues(String enumClassName) Retrieves the cached enum values for the specified enum class name.
-
Method Details
-
getEnumValues
Retrieves the cached enum values for the specified enum class name.- Parameters:
enumClassName- the fully qualified name of the enum class- Returns:
- a List of enum values associated with the specified class name, or null if no values are cached for that class name.
-