java.lang.Object | |
↳ | com.atlassian.confluence.plugin.ModuleDescriptorCache<T extends com.atlassian.plugin.ModuleDescriptor<?>> |
Caches module descriptors of a given module descriptor class and its
subclasses. This is useful in cases where you would otherwise frequently call
getEnabledModuleDescriptorsByClass(Class)
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ModuleDescriptorCache.Initializer<T> | Implementations of this interface are used to initialize a ModuleDescriptorCache
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the module descriptors currently in the cache.
| |||||||||||
Initialize the cache with the module descriptors returned by the initializer.
| |||||||||||
Removes module descriptors from the cache when plugin modules are disabled.
| |||||||||||
Adds module descriptors to the cache when plugin modules are enabled.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Initialize the cache with the module descriptors returned by the initializer.
Removes module descriptors from the cache when plugin modules are disabled.
Adds module descriptors to the cache when plugin modules are enabled.