|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBaseBundleActivator
org.eclipse.soda.dk.connection.bundle.ServiceBundle
org.eclipse.soda.dk.device.registry.bundle.DeviceRegistryBundle
public class DeviceRegistryBundle
The DeviceRegistryBundle is the bundle activator for the Device Kit bundle. It creates and registers the DeviceRegistryService.
| Field Summary | |
|---|---|
static java.lang.String[] |
SERVICE_NAMES
Define the service names (String[]) constant. |
| Fields inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
DEVICE_CLASS, DEVICE_REVISION |
| Constructor Summary | |
|---|---|
DeviceRegistryBundle()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Create exported services. |
java.lang.Object |
createService()
Create and return an object that implements the DeviceRegistryService interface. |
protected void |
deactivate()
Deactivate. |
DeviceService |
getDevice()
Return the device service object. |
java.lang.String[] |
getExportedServiceNames()
Gets the service names (String[]) value. |
void |
serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
Look for changes in DeviceService objects. |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
createProperties, destroyExportedServices, getService, log, log, setService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] SERVICE_NAMES
| Constructor Detail |
|---|
public DeviceRegistryBundle()
| Method Detail |
|---|
protected void activate()
ServiceBundle
activate in class ServiceBundleorg.eclipse.soda.sat.core.framework.BaseBundleActivator#activate()public java.lang.Object createService()
createService in class ServiceBundleObject) value.ServiceBundle.createService(),
DeviceRegistryprotected void deactivate()
public DeviceService getDevice()
DeviceService) value.public java.lang.String[] getExportedServiceNames()
getExportedServiceNames in class ServiceBundleString[]) value.public void serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
serviceChanged in interface org.osgi.framework.ServiceListenerserviceEvent - The service event (ServiceEvent) parameter.The service event (ServiceEvent) parameter.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||