Class Activator

java.lang.Object
java.lang.Thread
aQute.remote.agent.Activator
All Implemented Interfaces:
Runnable, org.osgi.framework.BundleActivator

public class Activator extends Thread implements org.osgi.framework.BundleActivator
The agent bundles uses an activator instead of DS to not constrain the target environment in any way.
  • 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
    • run

      public void run()
      Main dispatcher loop
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Shutdown any agents & the server socket.
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception