Class ExternalCacheExtension
- java.lang.Object
-
- org.nuiton.eugene.models.object.xml.ExternalCacheExtension
-
public class ExternalCacheExtension extends Object
ExternalCacheExtension Created: 2 nov. 2009- Author:
- Florian Desbois - desbois@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,ObjectModelClassifierImpl>
cache
static String
OBJECTMODEL_EXTENSION
-
Constructor Summary
Constructors Constructor Description ExternalCacheExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addClassifierToCache(ObjectModelImplRef reference, ObjectModelClassifierImpl classifier)
<C extends ObjectModelClassifierImpl>
CgetCache(ObjectModelImplRef reference, Class<C> classifierClass)
-
-
-
Field Detail
-
OBJECTMODEL_EXTENSION
public static final String OBJECTMODEL_EXTENSION
- See Also:
- Constant Field Values
-
cache
protected Map<String,ObjectModelClassifierImpl> cache
-
-
Method Detail
-
getCache
public <C extends ObjectModelClassifierImpl> C getCache(ObjectModelImplRef reference, Class<C> classifierClass) throws RuntimeException
- Throws:
RuntimeException
-
addClassifierToCache
protected void addClassifierToCache(ObjectModelImplRef reference, ObjectModelClassifierImpl classifier)
-
-