Package org.eclipse.tycho.p2.impl
Class Activator
- java.lang.Object
-
- org.eclipse.tycho.p2.impl.Activator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator extends Object implements org.osgi.framework.BundleActivator
-
-
Constructor Summary
Constructors Constructor Description Activator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.void
start(org.osgi.framework.BundleContext context)
void
stop(org.osgi.framework.BundleContext context)
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws Exception
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
newProvisioningAgent
@Deprecated public static org.eclipse.equinox.p2.core.IProvisioningAgent newProvisioningAgent() throws org.eclipse.equinox.p2.core.ProvisionException
Deprecated.This method potentially creates multiple agent instances with the default location. This leads to concurrent file system access with undefined outcome.- Throws:
org.eclipse.equinox.p2.core.ProvisionException
-
createProvisioningAgent
public static org.eclipse.equinox.p2.core.IProvisioningAgent createProvisioningAgent(URI targetLocation) throws org.eclipse.equinox.p2.core.ProvisionException
- Throws:
org.eclipse.equinox.p2.core.ProvisionException
-
stop
public void stop(org.osgi.framework.BundleContext context) throws Exception
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
getContext
public static org.osgi.framework.BundleContext getContext()
-
-