Class ScanDescriptorForHostClassesStage
java.lang.Object
com.atlassian.plugin.osgi.internal.factory.transform.stage.ScanDescriptorForHostClassesStage
- All Implemented Interfaces:
TransformStage
Scans the plugin descriptor for any "class" attribute, and ensures that it will be imported, if appropriate.
- Since:
- 2.2.0
-
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.
-
Constructor Details
-
ScanDescriptorForHostClassesStage
public ScanDescriptorForHostClassesStage()
-
-
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
-