com.buglabs.bug.update
Class Activator
java.lang.Object
com.buglabs.bug.update.Activator
- All Implemented Interfaces:
- com.buglabs.application.RunnableWithServices, org.osgi.framework.BundleActivator
public class Activator
- extends java.lang.Object
- implements org.osgi.framework.BundleActivator, com.buglabs.application.RunnableWithServices
|
Method Summary |
void |
allServicesAvailable(com.buglabs.application.IServiceProvider serviceProvider)
A tracker has collected all necessary services to run. |
void |
serviceUnavailable(com.buglabs.application.IServiceProvider serviceProvider,
org.osgi.framework.ServiceReference sr,
java.lang.Object service)
A tracker has lost a required service and needs to shutdown. |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
stop in interface org.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
allServicesAvailable
public void allServicesAvailable(com.buglabs.application.IServiceProvider serviceProvider)
- Description copied from interface:
com.buglabs.application.RunnableWithServices
- A tracker has collected all necessary services to run.
- Specified by:
allServicesAvailable in interface com.buglabs.application.RunnableWithServices
serviceUnavailable
public void serviceUnavailable(com.buglabs.application.IServiceProvider serviceProvider,
org.osgi.framework.ServiceReference sr,
java.lang.Object service)
- Description copied from interface:
com.buglabs.application.RunnableWithServices
- A tracker has lost a required service and needs to shutdown.
- Specified by:
serviceUnavailable in interface com.buglabs.application.RunnableWithServices