Package com.viglet.turing.commons.cache
Class TurCustomClassCache
Object
TurCustomClassCache
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomClassMap
(String className) Retrieve an instance of a class from a static HashMap.
-
Method Details
-
getCustomClassMap
Retrieve an instance of a class from a static HashMap. The class will be instantiated on the HashMap if not present.- Parameters:
className
- The name of the class that has to be retrieved.- Returns:
- An Optional of the instance.
-