com.atlassian.plugin.osgi.loader.transform
Interface PluginTransformer

All Known Implementing Classes:
DefaultPluginTransformer

public interface PluginTransformer

Transforms a plugin jar into a proper OSGi bundle


Method Summary
 java.io.File transform(java.io.File pluginJar, java.util.List<HostComponentRegistration> regs)
          Transforms a plugin jar into a proper OSGi bundle
 

Method Detail

transform

java.io.File transform(java.io.File pluginJar,
                       java.util.List<HostComponentRegistration> regs)
                       throws PluginTransformationException
Transforms a plugin jar into a proper OSGi bundle

Parameters:
pluginJar - The plugin file
regs - The list of registered host components
Returns:
The transformed OSGi bundle
Throws:
PluginTransformationException - If anything goes wrong


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.