container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java
public StageLibraryDelegate create(
    StageLibraryTask stageLib,
    String stageLibraryName,
    Class exportedInterface
  ) {
    StageLibraryDelegateDefinitition def = stageLib.getStageLibraryDelegateDefinition(stageLibraryName, exportedInterface);
    if(def == null) {
      return null;
    }

    return createInstance(def);
  }
public StageLibraryDelegate create(
    StageLibraryTask stageLib,
    String stageLibraryName,
    Class exportedInterface
  ) {
    StageLibraryDelegateDefinitition def = stageLib.getStageLibraryDelegateDefinition(stageLibraryName, exportedInterface);
    if(def == null) {
      return null;
    }

    return createInstance(def);
  }
public StageLibraryDelegate create ( StageLibraryTask stageLib , String stageLibraryName , Class exportedInterface ) { StageLibraryDelegateDefinitition def = stageLib . getStageLibraryDelegateDefinition ( stageLibraryName , exportedInterface ) ; if ( def == null ) { return null ; } return createInstance ( def ) ; }
Create new instance of the delegator from given stage library.

@param stageLib Stage library task instance.
@param stageLibraryName Name of the stage library from which the delegator should be loaded.
@param exportedInterface Interface describing which delegator is needed
@return New instance of the delegator or null on any issue
Create new instance of the delegator from given stage library .