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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.eclipse.equinox.p2.core.IProvisioningAgent
    createProvisioningAgent(URI targetLocation)
     
    static org.osgi.framework.BundleContext
     
    static org.eclipse.equinox.p2.core.IProvisioningAgent
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Activator

      public Activator()
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      start in interface org.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 interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • getContext

      public static org.osgi.framework.BundleContext getContext()