Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IPentahoDefinableObjectFactory.defineObject()


   *           if the object factory does not support runtime object definition
   */
  public PentahoSystemBoot define( String key, String implClassName, Scope scope ) {
    if ( factory instanceof IPentahoDefinableObjectFactory ) {
      IPentahoDefinableObjectFactory definableFactory = (IPentahoDefinableObjectFactory) getFactory();
      definableFactory.defineObject( key, implClassName, scope );
    } else {
      throw new NoSuchMethodError( "define is only supported by IPentahoDefinableObjectFactory" ); //$NON-NLS-1$
    }
    return this;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.