Search in sources :

Example 1 with MondrianSystemListener

use of org.pentaho.platform.plugin.action.mondrian.MondrianSystemListener in project pentaho-platform by pentaho.

the class PentahoBoot method enableOlap.

/**
 * Enables the components necessary to create reports
 */
public void enableOlap() {
    IPentahoObjectFactory objectFactory = getFactory();
    if (objectFactory instanceof IPentahoDefinableObjectFactory) {
        // $NON-NLS-1$
        define("connection-MDX", MDXConnection.class.getName(), Scope.LOCAL);
    }
    addLifecycleListener(new MondrianSystemListener());
}
Also used : IPentahoDefinableObjectFactory(org.pentaho.platform.api.engine.IPentahoDefinableObjectFactory) MDXConnection(org.pentaho.platform.plugin.services.connections.mondrian.MDXConnection) MondrianSystemListener(org.pentaho.platform.plugin.action.mondrian.MondrianSystemListener) IPentahoObjectFactory(org.pentaho.platform.api.engine.IPentahoObjectFactory)

Aggregations

IPentahoDefinableObjectFactory (org.pentaho.platform.api.engine.IPentahoDefinableObjectFactory)1 IPentahoObjectFactory (org.pentaho.platform.api.engine.IPentahoObjectFactory)1 MondrianSystemListener (org.pentaho.platform.plugin.action.mondrian.MondrianSystemListener)1 MDXConnection (org.pentaho.platform.plugin.services.connections.mondrian.MDXConnection)1