Package jetbrains.mps.smodel
Class PropertySupport.PropertySupportCache
- java.lang.Object
 - 
- jetbrains.mps.smodel.PropertySupport.PropertySupportCache
 
 
- 
- All Implemented Interfaces:
 DeployListener,CoreComponent
- Enclosing class:
 - PropertySupport
 
@Deprecated public static class PropertySupport.PropertySupportCache extends Object implements CoreComponent, DeployListener
Deprecated.TODO: remove in 3.3, replace with some generated code, probably in the StructureAspectDescriptor. Preserving the cache, but starting to listen to the reloading events to keep the cache up-to-date 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jetbrains.mps.classloading.DeployListener
DeployListener.ResourceTrackerCallback 
 - 
 
- 
Constructor Summary
Constructors Constructor Description PropertySupportCache(ClassLoaderManager clm)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddispose()Deprecated.PropertySupportget(SNode key)Deprecated.voidinit()Deprecated.voidonUnloaded(Set<ReloadableModule> modules, ProgressMonitor monitor)Deprecated.Contract: The class loaders of theunloadedModulesare still valid (i.e.voidput(SNode key, PropertySupport cache)Deprecated.- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.classloading.DeployListener
onLoaded, onUnloaded 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PropertySupportCache
public PropertySupportCache(ClassLoaderManager clm)
Deprecated. 
 - 
 
- 
Method Detail
- 
put
public void put(SNode key, PropertySupport cache)
Deprecated. 
- 
get
public PropertySupport get(SNode key)
Deprecated. 
- 
onUnloaded
public void onUnloaded(@NotNull Set<ReloadableModule> modules, @NotNull ProgressMonitor monitor)
Deprecated.Description copied from interface:DeployListenerContract: The class loaders of theunloadedModulesare still valid (i.e. not disposed) Modules are still deployed however the modules might be reloaded and the corresponding ModuleClassLoaders might get disposed, essentially meaning that ANY use of instances of these stale classes might triggerModuleClassLoader.ModuleClassLoaderIsDisposedException.- Specified by:
 onUnloadedin interfaceDeployListener- Parameters:
 modules- are likely to be removed from the repository after this moment- See Also:
 if for some reason you need to use the objects of the stale module classes after #unload event.
 
- 
init
public void init()
Deprecated.- Specified by:
 initin interfaceCoreComponent
 
- 
dispose
public void dispose()
Deprecated.- Specified by:
 disposein interfaceCoreComponent
 
 - 
 
 -