Interface TransformStage

All Known Implementing Classes:
AddBundleOverridesStage, ComponentImportSpringStage, ComponentSpringStage, GenerateManifestStage, HostComponentSpringStage, ModuleTypeSpringStage, ScanDescriptorForHostClassesStage, ScanInnerJarsStage

public interface TransformStage
Performs a stage in the transformation from a JAR to an OSGi bundle
Since:
2.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Transforms the jar by operating on the context Any transformation stage that generates Spring beans must ensure no collision of bean ids or names or aliases by calling TransformContext.trackBean(String, String) whenever a new bean id or name or alias is created.
  • Method Details

    • execute

      void execute(TransformContext context)
      Transforms the jar by operating on the context Any transformation stage that generates Spring beans must ensure no collision of bean ids or names or aliases by calling TransformContext.trackBean(String, String) whenever a new bean id or name or alias is created. Note: A transformation stage cannot retain any state as it is reused for all the plugins.
      Parameters:
      context - The transform context to operate on
      Throws:
      PluginTransformationException - If the stage cannot be performed and the whole operation should be aborted