當前位置: 首頁>>代碼示例>>Java>>正文


Java PluginLifecycleException類代碼示例

本文整理匯總了Java中org.pentaho.platform.api.engine.PluginLifecycleException的典型用法代碼示例。如果您正苦於以下問題:Java PluginLifecycleException類的具體用法?Java PluginLifecycleException怎麽用?Java PluginLifecycleException使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


PluginLifecycleException類屬於org.pentaho.platform.api.engine包,在下文中一共展示了PluginLifecycleException類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: ready

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
@Override
public void ready() throws PluginLifecycleException {
  logger.debug( "CteLifecycleListener.ready()" );

  try {
    SecurityHelper.getInstance().runAsSystem( new Callable() {

      @Override
      public Object call() throws Exception {
        CteEngine.getInstance().ensureBasicDir();
        return null;
      }
    });
  } catch ( Exception e ) {
    logger.error( e );
  }
}
 
開發者ID:webdetails,項目名稱:cte,代碼行數:18,代碼來源:CteLifecycleListener.java

示例2: init

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
/**
 * Called just prior to the plugin being registered
 * with the platform.  Note: This event does *not*
 * precede the detection of the plugin by any {@link IPluginProvider}s
 * @throws PluginLifecycleException if an error occurred
 */
public void init() throws PluginLifecycleException {
  try {
    PedisLifecycleListener.instance = this;
    resourceLoader = PentahoSystem.get(IPluginResourceLoader.class, null);
    initPluginDir();
    initPermissions();
    defaultContentType = getPluginSetting(DEFAULT_CONTENT_TYPE_SETTINGS, defaultContentType);
    debugEnabled = getPluginSetting(DEBUG_ENABLED_SETTINGS, debugEnabled);
  } catch (Exception exception) {
    throw new PluginLifecycleException("An error occurred while loading the plugin.", exception);
  }
}
 
開發者ID:rpbouman,項目名稱:pedis,代碼行數:19,代碼來源:PedisLifecycleListener.java

示例3: init

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
public void init() throws PluginLifecycleException {
  try {
    KettleSystemListener.environmentInit( null );
    KettleLogStore.getAppender().addLoggingEventListener( new Slf4jLoggingEventListener() );
  } catch ( KettleException e ) {
    throw new PluginLifecycleException( e );
  }
}
 
開發者ID:pentaho,項目名稱:pdi-platform-plugin,代碼行數:9,代碼來源:PdiLifecycleListener.java

示例4: init

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
@Override
public void init() throws PluginLifecycleException {
  logger.debug( "CteLifecycleListener.init()" );
}
 
開發者ID:webdetails,項目名稱:cte,代碼行數:5,代碼來源:CteLifecycleListener.java

示例5: loaded

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
@Override
public void loaded() throws PluginLifecycleException {
  logger.debug( "CteLifecycleListener.loaded()" );
}
 
開發者ID:webdetails,項目名稱:cte,代碼行數:5,代碼來源:CteLifecycleListener.java

示例6: unLoaded

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
@Override
public void unLoaded() throws PluginLifecycleException {
  logger.debug( "CteLifecycleListener.unLoaded()" );
}
 
開發者ID:webdetails,項目名稱:cte,代碼行數:5,代碼來源:CteLifecycleListener.java

示例7: loaded

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
public void loaded() throws PluginLifecycleException {
}
 
開發者ID:pentaho,項目名稱:pdi-platform-plugin,代碼行數:3,代碼來源:PdiLifecycleListener.java

示例8: unLoaded

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
public void unLoaded() throws PluginLifecycleException {
}
 
開發者ID:pentaho,項目名稱:pdi-platform-plugin,代碼行數:3,代碼來源:PdiLifecycleListener.java

示例9: loaded

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
/**
 * Called after the plugin has been registered with the platform,
 * i.e. all content generators, components, etc. have been loaded.
 * @throws PluginLifecycleException if an error occurred
 */
public void loaded() throws PluginLifecycleException {
}
 
開發者ID:rpbouman,項目名稱:pedis,代碼行數:8,代碼來源:PedisLifecycleListener.java

示例10: unLoaded

import org.pentaho.platform.api.engine.PluginLifecycleException; //導入依賴的package包/類
/**
 * Called when the plugin needs to be unloaded. This
 * method should release all resources and return things
 * to a pre-loaded state.
 * @throws PluginLifecycleException if an error occurred
 */
public void unLoaded() throws PluginLifecycleException {
  PedisLifecycleListener.instance = null;
}
 
開發者ID:rpbouman,項目名稱:pedis,代碼行數:10,代碼來源:PedisLifecycleListener.java


注:本文中的org.pentaho.platform.api.engine.PluginLifecycleException類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。