public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
private org.osgi.framework.BundleContext |
context |
private static Activator |
instance |
static java.lang.String |
PLUGIN_ID |
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.equinox.p2.core.IProvisioningAgent |
createProvisioningAgent(java.net.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 java.lang.String PLUGIN_ID
private static Activator instance
private org.osgi.framework.BundleContext context
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
java.lang.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(java.net.URI targetLocation) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionException
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public static org.osgi.framework.BundleContext getContext()