mondrian.spi
Class SegmentCache.SegmentCacheInjector

java.lang.Object
  extended by 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.


Constructor Summary
SegmentCache.SegmentCacheInjector()
           
 
Method Summary
static void addCache(SegmentCache cache)
          Adds a SegmentCache instance for Mondrian's use.
static List<SegmentCache> getCaches()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentCache.SegmentCacheInjector

public SegmentCache.SegmentCacheInjector()
Method Detail

addCache

public static void addCache(SegmentCache cache)
Adds a SegmentCache instance for Mondrian's use.


getCaches

public static List<SegmentCache> getCaches()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads