Class ComponentSpringStage
java.lang.Object
com.atlassian.plugin.osgi.internal.factory.transform.stage.ComponentSpringStage
- All Implemented Interfaces:
TransformStage
Transforms component tags in the plugin descriptor into the appropriate spring XML configuration file
- 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
-
BEAN_SOURCE
- See Also:
-
-
Constructor Details
-
ComponentSpringStage
public ComponentSpringStage()
-
-
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
-