public class ActivityBaseActivator extends Object
Modifier and Type | Method and Description |
---|---|
void |
bindService(ActivityService activityService)
Bind the activity service
|
static ActivityService |
getActivityService() |
static ActivityBaseActivator |
instantiate(org.osgi.framework.BundleContext bundleContext)
Factory method to create the singleton instance of the activator
|
void |
start()
Callback to initialize the bundle when all required resources are available
|
void |
stop()
Callback to clean-up after departure of required resources
|
public static ActivityService getActivityService()
public static ActivityBaseActivator instantiate(org.osgi.framework.BundleContext bundleContext)
bundleContext
- the context of the bundle as provided by the frameworkpublic void bindService(ActivityService activityService)
activityService
- the ActivityService servicepublic void start()
public void stop()
Copyright © 2019 Communote team. All rights reserved.