2008-02-07 1.1.0

org.eclipse.soda.dk.notification.bundle
Class NotificationBundle

java.lang.Object
  extended by org.eclipse.soda.sat.core.framework.BaseBundleActivator
      extended by org.eclipse.soda.dk.connection.bundle.ServiceBundle
          extended by org.eclipse.soda.dk.notification.bundle.NotificationBundle
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class NotificationBundle
extends ServiceBundle

The TransportBundle is the standard Bundle Activator for all other transport bundle activators to subclass.

Version:
1.1.0

Field Summary
static java.lang.String EVENT_ADMIN_NAME
          Define the event admin name (String) constant.
static java.lang.String[] IMPORTED_SERVICES
          Define the imported services (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
NotificationBundle()
           
 
Method Summary
 java.util.Hashtable createProperties()
          Create properties and return the Hashtable result.
 java.lang.Object createService()
          Create service and return the Object result.
protected  void deactivate()
          Deactivate.
 java.lang.String[] getExportedServiceNames()
          Return the service name to be registered.
protected  java.lang.String[] getImportedServiceNames()
          Gets the imported service names (String[]) value.
 Notification getNotification()
          Gets the transport (NotificationService) value.
 
Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle
activate, 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, getBundleContext, getBundleSymbolicName, getDataDirectory, getDataFile, getExportedService, getExportedServiceNamesFromManifest, getExportedServiceProperties, getExportedServiceProperties, getExportedServices, getExportedServices, getFilePropertiesInputStream, getFilePropertiesInputStream, getImportedService, getImportedServiceFilter, 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

EVENT_ADMIN_NAME

public static final java.lang.String EVENT_ADMIN_NAME
Define the event admin name (String) constant.


IMPORTED_SERVICES

public static final java.lang.String[] IMPORTED_SERVICES
Define the imported services (String[]) constant.

Constructor Detail

NotificationBundle

public NotificationBundle()
Method Detail

createProperties

public java.util.Hashtable createProperties()
Create properties and return the Hashtable result.

Overrides:
createProperties in class ServiceBundle
Returns:
Results of the create properties (Hashtable) value.

createService

public java.lang.Object createService()
Create service and return the Object result.

Overrides:
createService in class ServiceBundle
Returns:
Results of the create service (Object) value.
See Also:
ServiceBundle.getService(), ServiceBundle.setService(Object)

deactivate

protected void deactivate()
Deactivate.

Overrides:
deactivate in class org.eclipse.soda.sat.core.framework.BaseBundleActivator

getExportedServiceNames

public java.lang.String[] getExportedServiceNames()
Return the service name to be registered. Normally, subclasses should override this method.

Specified by:
getExportedServiceNames in class ServiceBundle
Returns:
Results of the get service name (String) value.

getImportedServiceNames

protected java.lang.String[] getImportedServiceNames()
Gets the imported service names (String[]) value.

Overrides:
getImportedServiceNames in class org.eclipse.soda.sat.core.framework.BaseBundleActivator
Returns:
The imported service names (String[]) value.

getNotification

public Notification getNotification()
Gets the transport (NotificationService) value.

Returns:
The transport (NotificationService) value.

2008-02-07 1.1.0

Copyright (c) 1999, 2008 IBM and others. See license in Legal section. OSGi Framework Version 3.3.1.R33x_v20070828