Class ReflectionHelperCache


  • public class ReflectionHelperCache
    extends java.lang.Object
    All caches tied to the repository to avoid memory leaks
    • Constructor Detail

      • ReflectionHelperCache

        public ReflectionHelperCache()
    • Method Detail

      • getCachedAttributesAndReferences

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<org.omg.mof.model.StructuralFeature>> getCachedAttributesAndReferences()
        Returns:
        Returns the CachedAttributesAndReferences.
      • getCachedChangeableAttributesAndReferences

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<org.omg.mof.model.StructuralFeature>> getCachedChangeableAttributesAndReferences()
        Returns:
        Returns the CachedChangeableAttributesAndReferences.
      • getCachedChangeableAttributes

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<org.omg.mof.model.MofAttribute>> getCachedChangeableAttributes()
      • getCachedComposedByReferences

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<org.omg.mof.model.Reference>> getCachedComposedByReferences()
        Returns:
        Returns the CachedComposedByReferences.
      • getCachedCompositeReferences

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<org.omg.mof.model.Reference>> getCachedCompositeReferences()
        Returns:
        Returns the CachedCompositeReferences.
      • getCachedFeatureSubsets

        public java.util.Map<java.lang.Class<? extends AbstractRefClass>,​java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>>> getCachedFeatureSubsets()
        Returns:
        Returns the CachedFeatureSubsets.
      • getCachedFeatureSubsetsDeep

        public java.util.Map<java.lang.Class<? extends AbstractRefClass>,​java.util.Map<java.lang.String,​java.util.List<java.lang.String>>> getCachedFeatureSubsetsDeep()
        Returns:
        Returns the CachedFeatureSubsetsDeep.
      • getCachedMofSuperTypes

        public java.util.Map<org.omg.mof.model.GeneralizableElement,​java.util.List<org.omg.mof.model.GeneralizableElement>> getCachedMofSuperTypes()
        Returns:
        Returns the CachedMofSuperTypes.
      • getCachedProxies

        public java.util.Map<java.lang.Class,​AbstractRefClass> getCachedProxies()
        Returns:
        Returns the CachedProxies.
      • getMofClassToProxy

        public java.util.Map<org.omg.mof.model.Class,​AbstractRefClass> getMofClassToProxy()
        Map meta object to RefClass.
      • getCachedReferences

        public java.util.Map<java.lang.String,​java.util.List<org.omg.mof.model.Reference>> getCachedReferences()
        Returns:
        Returns the CachedReferences.
      • getCachedSubsetedFeatures

        public java.util.Map<java.lang.Class,​java.util.List<java.lang.String>> getCachedSubsetedFeatures()
        Returns:
        Returns the CachedSubsetedFeatures.
      • getCachedSuperTypes

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<org.omg.mof.model.Class>> getCachedSuperTypes()
        Returns:
        Returns the cached superTypes.
      • getCachedIsSuperType

        public ReflectionMultiKeyMap<org.omg.mof.model.Class,​org.omg.mof.model.Class,​java.lang.Boolean> getCachedIsSuperType()
      • getCachedContents

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<java.lang.Object>> getCachedContents()
        Returns:
        Returns the cached contents.
      • getCachedContainersByClassType

        public java.util.Map<java.lang.Class,​java.util.List<java.lang.Class>> getCachedContainersByClassType()
        Returns:
        Returns the cachedContainersByClassType.
      • getCompositeFeaturesNames

        public java.util.Map<org.omg.mof.model.Class,​java.util.List<java.lang.String>> getCompositeFeaturesNames()
        Returns:
        Returns the compositeFeaturesNames.
      • getMetaClassProxy

        public java.util.Map<java.lang.String,​AbstractRefClass> getMetaClassProxy()
        Returns:
        Returns the metaClassProxy.
      • getCachedFeatures

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​org.omg.mof.model.StructuralFeature>> getCachedFeatures()
      • getCachedDisposableReferences

        public java.util.Map<org.omg.mof.model.Reference,​java.lang.Boolean> getCachedDisposableReferences()
      • getEnums

        public ReflectionMultiKeyMap<org.omg.mof.model.StructuralFeature,​java.lang.String,​javax.jmi.reflect.RefEnum> getEnums()
      • getCachedAttributesAndReferencesAsString

        public java.util.Map<org.omg.mof.model.Class,​java.util.Set<java.lang.String>> getCachedAttributesAndReferencesAsString()
      • getCachedChangeableAttributesAndReferencesAsString

        public java.util.Map<org.omg.mof.model.Class,​java.util.Set<java.lang.String>> getCachedChangeableAttributesAndReferencesAsString()
      • getCachedCompositeRelationsPropertyNames

        public ReflectionMultiKeyMap<AbstractRefClass,​java.lang.Class,​java.util.List<java.lang.String>> getCachedCompositeRelationsPropertyNames()
      • getCachedDerivedFeatures

        public ReflectionMultiKeyMap<java.lang.Class,​java.lang.String,​org.omg.mof.model.StructuralFeature> getCachedDerivedFeatures()
      • getCachedCompositeRelationsPropertyNamesOnlyMultiple

        public ReflectionMultiKeyMap<AbstractRefClass,​java.lang.Class,​java.util.List<java.lang.String>> getCachedCompositeRelationsPropertyNamesOnlyMultiple()
      • getBooleanFeatures

        public java.util.Map<org.omg.mof.model.StructuralFeature,​java.lang.Boolean> getBooleanFeatures()
      • getIntegerFeatures

        public java.util.Map<org.omg.mof.model.StructuralFeature,​java.lang.Boolean> getIntegerFeatures()
      • getRealFeatures

        public java.util.Map<org.omg.mof.model.StructuralFeature,​java.lang.Boolean> getRealFeatures()
      • getStringFeatures

        public java.util.Map<org.omg.mof.model.StructuralFeature,​java.lang.Boolean> getStringFeatures()
      • getEnumFeatures

        public java.util.Map<org.omg.mof.model.StructuralFeature,​java.lang.Boolean> getEnumFeatures()
      • clear

        public void clear()
        Clear the cache