Package org.adempiere.base
Class BaseActivator
java.lang.Object
org.adempiere.base.BaseActivator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
Activator for org.adempiere.base bundle.
- Author:
- hengsin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.osgi.framework.BundleContext
static <T> org.osgi.util.tracker.ServiceTracker<T,
T> getServiceTracker
(Class<T> type, org.osgi.framework.Filter filter) void
start
(org.osgi.framework.BundleContext context) void
stop
(org.osgi.framework.BundleContext context)
-
Constructor Details
-
BaseActivator
public BaseActivator()default constructor
-
-
Method Details
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.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)
-