2008-09-10 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.notification.bundle.NotificationBundle
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class NotificationBundle
extends org.eclipse.soda.sat.core.framework.BaseBundleActivator

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.sat.core.framework.BaseBundleActivator
NO_SERVICES
 
Constructor Summary
NotificationBundle()
           
 
Method Summary
protected  void activate()
          Activate.
 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.
 org.eclipse.soda.dk.notification.NotificationBase getNotification()
          Gets the transport (NotificationService) value.
 java.lang.Object getService()
          Gets the service (Object) value.
 void setService(java.lang.Object service)
          Sets the service value.
 
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, 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

activate

protected void activate()
Activate.

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

createProperties

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

Returns:
Results of the create properties (Hashtable) value.

createService

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

Returns:
Results of the create service (Object) value.
See Also:
getService(), 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.

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 org.eclipse.soda.dk.notification.NotificationBase getNotification()
Gets the transport (NotificationService) value.

Returns:
The transport (NotificationService) value.

getService

public java.lang.Object getService()
Gets the service (Object) value.

Returns:
The service (Object) value.
See Also:
createService(), setService(Object)

setService

public void setService(java.lang.Object service)
Sets the service value.

Parameters:
service - The service (Object) parameter.
See Also:
createService(), getService()

2008-09-10 1.1.0

Copyright (c) 1999, 2008 IBM and others. See license in Legal section. OSGi Framework Version 3.4.0.v20080605-1900