mondrian.spi
Class SegmentCache.SegmentCacheInjector
java.lang.Object
mondrian.spi.SegmentCache.SegmentCacheInjector
- Enclosing interface:
- SegmentCache
public static class SegmentCache.SegmentCacheInjector
- extends Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentCache.SegmentCacheInjector
public SegmentCache.SegmentCacheInjector()
addCache
public static void addCache(SegmentCache cache)
- Adds a
SegmentCache instance for Mondrian's use.
getCaches
public static List<SegmentCache> getCaches()