com.atlassian.plugin.osgi.factory.transform
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
 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.
 

Method Detail

execute

void execute(TransformContext context)
             throws PluginTransformationException
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.

Parameters:
context - The transform context to operate on
Throws:
PluginTransformationException - If the stage cannot be performed and the whole operation should be aborted


Copyright © 2011 Atlassian. All Rights Reserved.