Class BaseActivator

java.lang.Object
org.adempiere.base.BaseActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class BaseActivator extends Object implements org.osgi.framework.BundleActivator
Activator for org.adempiere.base bundle.
Author:
hengsin
  • Constructor Details

    • BaseActivator

      public BaseActivator()
      default constructor
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • getBundleContext

      public static org.osgi.framework.BundleContext getBundleContext()
      Returns:
      bundle context
    • getServiceTracker

      public static <T> org.osgi.util.tracker.ServiceTracker<T,T> getServiceTracker(Class<T> type, org.osgi.framework.Filter filter)