本文整理匯總了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;
}