I wrote a custom step plugin, and would like to wire it for MetaData injection.
I read the wiki
(http://wiki.pentaho.com/display/EAI/...+Injection+API)
and my understanding is that I just need to implement the
getStepInjectionMetadataEntries() and injectStepMetadataEntries() methods in my StepMeta?
Say my new plugin step is called Fred. So I have
FredStep.java, FredStepMeta.java, FredStepData.java, FredStepDialog.java
I added StepMetaInjectionInterface to my FredStepMeta declaration:
FredStepMeta extends BaseStepMeta implements StepMetaInterface, StepMetaInjectionInterface
BaseStepMeta .getStepInjectionMetadataEntries uses attributes, and should have loaded "step-attributes.xml", but that does not seem to
work for my custom step plugin.
I placed the step-attributes.xml file into the plugin directory, and it is getting deployed along with the plugin.xml file, but it is not getting loaded by the
BaseStepMeta.loadStepAttributes().
What do I need to do to add "step-attributes.xml" so it will get read?
thanks
I read the wiki
(http://wiki.pentaho.com/display/EAI/...+Injection+API)
and my understanding is that I just need to implement the
getStepInjectionMetadataEntries() and injectStepMetadataEntries() methods in my StepMeta?
Say my new plugin step is called Fred. So I have
FredStep.java, FredStepMeta.java, FredStepData.java, FredStepDialog.java
I added StepMetaInjectionInterface to my FredStepMeta declaration:
FredStepMeta extends BaseStepMeta implements StepMetaInterface, StepMetaInjectionInterface
BaseStepMeta .getStepInjectionMetadataEntries uses attributes, and should have loaded "step-attributes.xml", but that does not seem to
work for my custom step plugin.
I placed the step-attributes.xml file into the plugin directory, and it is getting deployed along with the plugin.xml file, but it is not getting loaded by the
BaseStepMeta.loadStepAttributes().
What do I need to do to add "step-attributes.xml" so it will get read?
thanks