Package mondrian.spi
Class SegmentCache.SegmentCacheInjector
java.lang.Object
mondrian.spi.SegmentCache.SegmentCacheInjector
- Enclosing interface:
- SegmentCache
The
SegmentCache.SegmentCacheInjector
is a means to inject
SegmentCache
instances directly into Mondrian,
instead of passing a class name. This is particularly
useful in plugin environments, like the Pentaho Platform.
Mondrian can't always get access to the child class loader,
therefore passing an instance is the only way.
It is recommended to use the Java Services API when possible
instead of the injector. See SegmentCache
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCache
(SegmentCache cache) Adds aSegmentCache
instance for Mondrian's use.static List<SegmentCache>
-
Constructor Details
-
SegmentCacheInjector
public SegmentCacheInjector()
-
-
Method Details
-
addCache
Adds aSegmentCache
instance for Mondrian's use. -
getCaches
-