1.0.0

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

java.lang.Object
  extended by BaseBundleActivator
      extended by org.eclipse.soda.dk.connection.bundle.ServiceBundle
          extended by org.eclipse.soda.dk.notification.bundle.NotificationBundle

public class NotificationBundle
extends ServiceBundle

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

Version:
1.0.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
 
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 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.


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.

Returns:
The imported service names (String[]) value.

getNotification

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

Returns:
The transport (NotificationService) value.

1.0.0

Copyright (c) 1999, 2007 IBM