com.atlassian.plugin.osgi.factory.transform.stage
Class ModuleTypeSpringStage

java.lang.Object
  extended by com.atlassian.plugin.osgi.factory.transform.stage.ModuleTypeSpringStage
All Implemented Interfaces:
TransformStage

public class ModuleTypeSpringStage
extends java.lang.Object
implements TransformStage

Transforms module-type elements into the appropriate Spring XML configuration file

Since:
2.2.0

Field Summary
static java.lang.String BEAN_SOURCE
           
 
Constructor Summary
ModuleTypeSpringStage()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SOURCE

public static final java.lang.String BEAN_SOURCE
See Also:
Constant Field Values
Constructor Detail

ModuleTypeSpringStage

public ModuleTypeSpringStage()
Method Detail

execute

public void execute(TransformContext context)
             throws PluginTransformationException
Description copied from interface: TransformStage
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.

Specified by:
execute in interface TransformStage
Parameters:
context - The transform context to operate on
Throws:
PluginTransformationException - If the stage cannot be performed and the whole operation should be aborted


Copyright © 2013 Atlassian. All Rights Reserved.