public static void reset() { if ( KettleLogStore.isInitialized() ) { KettleLogStore.getInstance().reset(); } PluginRegistry.getInstance().reset(); initialized = null; } }
+ className + " registered for plugin type '" + pluginType.getName() + "'" ); } else { if ( KettleLogStore.isInitialized() && LogChannel.GENERAL.isDebug() ) { LogChannel.GENERAL.logDebug( "Plugin class " + className + " doesn't contain annotation for plugin type '" + pluginType.getName() + "'" ); if ( KettleLogStore.isInitialized() && LogChannel.GENERAL.isDebug() ) { LogChannel.GENERAL.logDebug( "Plugin class " + className + " doesn't contain valid class for plugin type '" + pluginType.getName() + "'" ); if ( KettleLogStore.isInitialized() ) { LogChannel.GENERAL.logError( "Error registring plugin class from KETTLE_PLUGIN_CLASSES: " + className + Const.CR + Const.getStackTracker( e ) );
void cleanUp() { KettleClientEnvironment.reset(); PluginRegistry.getInstance().reset(); MetricsRegistry.getInstance().reset(); ExtensionPointMap.getInstance().reset(); if ( KettleLogStore.isInitialized() ) { KettleLogStore.getInstance().reset(); } KettleLogStore.setLogChannelInterfaceFactory( new LogChannelFactory() ); if ( Props.isInitialized() ) { Props.getInstance().reset(); } KettleVFS.getInstance().reset(); XMLHandlerCache.getInstance().clear(); ValueMetaFactory.pluginRegistry = PluginRegistry.getInstance(); // under no circumstance reset the LoggingRegistry // LoggingRegistry.getInstance().reset(); }