Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IPluginResourceLoader.findResources()


    // We know what plugin is supposed to have the serialization policy file, now go find it
    // in the plugin's filesystem
    //
    IPluginResourceLoader resLoader =
        PentahoSystem.get( IPluginResourceLoader.class, PentahoSessionHolder.getSession() );
    List<URL> urls = resLoader.findResources( serviceClassloader, serializationPolicyFilename );
    if ( urls.size() < 1 ) {
      logger.error( Messages.getInstance().getErrorString(
          "GwtRpcPluginProxyServlet.ERROR_0006_FAILED_TO_FIND_FILE", serializationPolicyFilename ) ); //$NON-NLS-1$
      return null;
    }
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.