本文整理汇总了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 );
}
}
示例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);
}
}
示例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 );
}
}
示例4: init
import org.pentaho.platform.api.engine.PluginLifecycleException; //导入依赖的package包/类
@Override
public void init() throws PluginLifecycleException {
logger.debug( "CteLifecycleListener.init()" );
}
示例5: loaded
import org.pentaho.platform.api.engine.PluginLifecycleException; //导入依赖的package包/类
@Override
public void loaded() throws PluginLifecycleException {
logger.debug( "CteLifecycleListener.loaded()" );
}
示例6: unLoaded
import org.pentaho.platform.api.engine.PluginLifecycleException; //导入依赖的package包/类
@Override
public void unLoaded() throws PluginLifecycleException {
logger.debug( "CteLifecycleListener.unLoaded()" );
}
示例7: loaded
import org.pentaho.platform.api.engine.PluginLifecycleException; //导入依赖的package包/类
public void loaded() throws PluginLifecycleException {
}
示例8: unLoaded
import org.pentaho.platform.api.engine.PluginLifecycleException; //导入依赖的package包/类
public void unLoaded() throws PluginLifecycleException {
}
示例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 {
}
示例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;
}