Class BeanInjector

java.lang.Object
org.pentaho.di.core.injection.bean.BeanInjector

public class BeanInjector extends Object
Engine for get/set metadata injection properties from bean.
  • Constructor Details

  • Method Details

    • getObject

      public Object getObject(Object root, String propName) throws Exception
      Throws:
      Exception
    • getPropVal

      public Object getPropVal(Object root, String propName)
      Retrieves the raw prop value from root object.

      The similar getProperty(Object, String) method (also in this class )should be revisited and possibly eliminated. That version attempts to retrieve indexed prop vals from lists/arrays, but doesn't provide a way to retrieve the list or array objects themselves.

    • getProperty

      public Object getProperty(Object root, String propName) throws Exception
      Throws:
      Exception
    • hasProperty

      public boolean hasProperty(Object root, String propName)
    • setProperty

      public void setProperty(Object root, String propName, List<org.pentaho.di.core.RowMetaAndData> data, String dataN) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • runPostInjectionProcessing

      public void runPostInjectionProcessing(Object object)