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.IProvisioningAgentcreateProvisioningAgent(URI targetLocation)static org.osgi.framework.BundleContextgetContext()static org.eclipse.equinox.p2.core.IProvisioningAgentnewProvisioningAgent()Deprecated.This method potentially creates multiple agent instances with the default location.voidstart(org.osgi.framework.BundleContext context)voidstop(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:
startin 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:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
Exception
-
getContext
public static org.osgi.framework.BundleContext getContext()
-
-