当前位置: 首页>>代码示例>>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;未经允许,请勿转载。