|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.sat.core.framework.BaseBundleActivator
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 |
| Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
NO_SERVICES |
| 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 org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectImportedServiceNames, collectOptionalImportedServiceNames, getAsyncStartPriority, getBundle, getBundleActivationManager, getBundleContext, getBundleSymbolicName, getDataDirectory, getDataFile, getExportedService, getExportedServiceNamesFromManifest, getExportedServiceProperties, getExportedServiceProperties, getExportedServices, getExportedServices, getFilePropertiesInputStream, getFilePropertiesInputStream, getImportedService, getImportedServiceFilter, getImportedServiceNames, getImportedServiceNamesFromManifest, getImportedServiceProperty, getImportedServicePropertyKeys, getImportedServices, getOptionalImportedService, getOptionalImportedServiceFilter, getOptionalImportedServiceNames, getOptionalImportedServiceProperty, getOptionalImportedServicePropertyKeys, getOptionalImportedServices, getProperties, getPropertiesInputStream, getProperty, getResourcePropertiesInputStream, getResourcePropertiesInputStream, handleAcquiredOptionalImportedService, handleException, handleFailedToFindProperties, handleReleasedOptionalImportedService, isStartAsync, isTransient, isUninstallable, releaseImportedService, releaseImportedServices, releaseOptionalImportedServices, removeExportedService, removeExportedService, removeExportedServices, removeImportedServiceFilter, removeOptionalImportedServiceFilter, restartFramework, setExportedServiceProperties, setExportedServiceProperties, shutdownFramework, start, start, stop, stop |
| 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 ServiceBundleBaseBundleActivator.activate()public java.lang.Object createService()
createService in class ServiceBundleObject) value.ServiceBundle.createService(),
DeviceRegistryprotected void deactivate()
deactivate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic 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.ServiceListener.serviceChanged(ServiceEvent)
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||