Interface ComponentConstructor<S>

All Known Implementing Classes:
ComponentConstructorImpl

public interface ComponentConstructor<S>
This is used to construct a component instance object, call the constructor and set the activation fields.
  • Method Details

    • newInstance

      <T> S newInstance(ScrComponentContext componentContext, Map<ReferenceMetadata,OpenStatus<S,?>> parameterMap) throws Exception
      Create a new instance
      Parameters:
      componentContext - The component context
      parameterMap - A map of reference parameters for handling references in the constructor
      Returns:
      The instance
      Throws:
      Exception - If anything goes wrong, like constructor can't be found etc.