public final class TransformContext extends Object
| Constructor and Description |
|---|
TransformContext(List<HostComponentRegistration> regs,
SystemExports systemExports,
PluginArtifact pluginArtifact,
Set<Application> applications,
String descriptorPath,
OsgiContainerManager osgiContainerManager) |
public TransformContext(List<HostComponentRegistration> regs, SystemExports systemExports, PluginArtifact pluginArtifact, Set<Application> applications, String descriptorPath, OsgiContainerManager osgiContainerManager)
public File getPluginFile()
public PluginArtifact getPluginArtifact()
public List<HostComponentRegistration> getHostComponentRegistrations()
public org.dom4j.Document getDescriptorDocument()
public Manifest getManifest()
public void addBundleClasspathJar(String classpath)
public Map<String,ComponentImport> getComponentImports()
public SystemExports getSystemExports()
public Set<Application> getApplications()
public boolean shouldRequireSpring()
public void setShouldRequireSpring(boolean shouldRequireSpring)
public OsgiContainerManager getOsgiContainerManager()
public void addRequiredHostComponent(HostComponentRegistration hostComponent)
public Set<HostComponentRegistration> getRequiredHostComponents()
public void trackBean(String name, String source) throws PluginTransformationException
PluginTransformationException will be raised.name - id, name, or alias of the bean = basically any names which can be used to refer to the bean in Spring context.source - the source of the bean.PluginTransformationExceptionpublic boolean beanExists(String name)
name - the bean name.public InstallationMode getInstallationMode()
Copyright © 2014 Atlassian. All rights reserved.