Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 stepMetaInterface = StepLoader.getInstance().getStepClass(sp);


becomes

Code Block
stepMetaInterface = (StepMetaInterface)PluginRegistry.getInstance().loadClass(sp);

Pentaho Examples


Code Block

StepLoader steploader = StepLoader.getInstance();
String fromstepid = steploader.getStepPluginID(tii);

becomes

Code Block

PluginRegistry registry = PluginRegistry.getInstance();
String fromstepid = registry.getPluginId(tii);
Code Block

repository = (Repository) RepositoryLoader.createRepository(repositoryMeta);

becomes

Code Block

repository = (Repository)PluginRegistry.getInstance().loadClass(RepositoryPluginType.getInstance(), repositoryMeta.getId(), PluginClassType.MainClassType);
repository.init(repositoryMeta);