Package mondrian.spi
Class SegmentCache.SegmentCacheInjector
- java.lang.Object
 - 
- mondrian.spi.SegmentCache.SegmentCacheInjector
 
 
- 
- Enclosing interface:
 - SegmentCache
 
public static class SegmentCache.SegmentCacheInjector extends Object
TheSegmentCache.SegmentCacheInjectoris a means to injectSegmentCacheinstances 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. SeeSegmentCache. 
- 
- 
Constructor Summary
Constructors Constructor Description SegmentCacheInjector() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddCache(SegmentCache cache)Adds aSegmentCacheinstance for Mondrian's use.static List<SegmentCache>getCaches() 
 - 
 
- 
- 
Method Detail
- 
addCache
public static void addCache(SegmentCache cache)
Adds aSegmentCacheinstance for Mondrian's use. 
- 
getCaches
public static List<SegmentCache> getCaches()
 
 - 
 
 -