Class GenerateManifestStage
java.lang.Object
com.atlassian.plugin.osgi.internal.factory.transform.stage.GenerateManifestStage
- All Implemented Interfaces:
TransformStage
Generates an OSGi manifest if not already defined. Should be the last stage.
- Since:
- 2.2.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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 callingTransformContext.trackBean(String, String)whenever a new bean id or name or alias is created.
-
Field Details
-
SPRING_CONTEXT
- See Also:
-
-
Constructor Details
-
GenerateManifestStage
public GenerateManifestStage()
-
-
Method Details
-
execute
Description copied from interface:TransformStageTransforms 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 callingTransformContext.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.- Specified by:
executein interfaceTransformStage- Parameters:
context- The transform context to operate on
-