Class EmbeddedActivator

java.lang.Object
aQute.remote.embedded.activator.EmbeddedActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class EmbeddedActivator extends Object implements org.osgi.framework.BundleActivator
This activator is placed in bundles that will load embedded bundles when activated. We mark installed bundles with our bsn + "@" their bsn. This makes it quick and easy to update the constellation.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    start(org.osgi.framework.BundleContext context)
    The activator start will install any bundles that are not already installed and update embedded bundles that are refreshed
    void
    stop(org.osgi.framework.BundleContext context)
    Stop any bundles that our in our domain

    Methods inherited from class java.lang.Object

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

    • EmbeddedActivator

      public EmbeddedActivator()
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      The activator start will install any bundles that are not already installed and update embedded bundles that are refreshed
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Stop any bundles that our in our domain
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception