public class Activator extends Object implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.equinox.p2.core.IProvisioningAgent |
createProvisioningAgent(URI targetLocation) |
static org.osgi.framework.BundleContext |
getContext() |
static org.eclipse.equinox.p2.core.IProvisioningAgent |
newProvisioningAgent()
Deprecated.
This method potentially creates multiple agent instances with the default
location. This leads to concurrent file system access with undefined outcome.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
public static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
@Deprecated public static org.eclipse.equinox.p2.core.IProvisioningAgent newProvisioningAgent() throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionException
public static org.eclipse.equinox.p2.core.IProvisioningAgent createProvisioningAgent(URI targetLocation) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionException
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public static org.osgi.framework.BundleContext getContext()
Copyright © 2008–2024 Eclipse Foundation. All rights reserved.