2008-02-07 1.1.0

org.eclipse.soda.dk.notification.test.bundle
Class NotificationTestBundle

java.lang.Object
  extended by org.eclipse.soda.sat.core.framework.BaseBundleActivator
      extended by org.eclipse.soda.dk.notification.test.bundle.NotificationTestBundle
All Implemented Interfaces:
org.eclipse.soda.sat.core.record.interfaces.ServiceDetecterListener, org.osgi.framework.BundleActivator

public class NotificationTestBundle
extends org.eclipse.soda.sat.core.framework.BaseBundleActivator
implements org.eclipse.soda.sat.core.record.interfaces.ServiceDetecterListener

Version:
1.1.0

Field Summary
protected  org.eclipse.soda.sat.core.record.interfaces.IServiceDetecter detecter
          Define the detecter (IServiceDetecter) field.
 
Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
NO_SERVICES
 
Constructor Summary
NotificationTestBundle()
          Constructs an instance of this class.
 
Method Summary
 void serviceAdded(org.eclipse.soda.sat.core.record.interfaces.IServiceDetecter detecter, org.osgi.framework.ServiceReference serviceReference, java.lang.Object service)
           
 void serviceRemoved(org.eclipse.soda.sat.core.record.interfaces.IServiceDetecter detecter, org.osgi.framework.ServiceReference serviceReference, java.lang.Object service)
           
protected  void start()
          Start.
protected  void stop()
          Stop.
 
Methods inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, activate, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectImportedServiceNames, collectOptionalImportedServiceNames, deactivate, getAsyncStartPriority, getBundle, 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, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

detecter

protected org.eclipse.soda.sat.core.record.interfaces.IServiceDetecter detecter
Define the detecter (IServiceDetecter) field.

Constructor Detail

NotificationTestBundle

public NotificationTestBundle()
Constructs an instance of this class.

Method Detail

serviceAdded

public void serviceAdded(org.eclipse.soda.sat.core.record.interfaces.IServiceDetecter detecter,
                         org.osgi.framework.ServiceReference serviceReference,
                         java.lang.Object service)
Specified by:
serviceAdded in interface org.eclipse.soda.sat.core.record.interfaces.ServiceDetecterListener
Parameters:
detecter - The detecter (IServiceDetecter) parameter.
serviceReference - The service reference (ServiceReference) parameter.
service - The service (Object) parameter.

serviceRemoved

public void serviceRemoved(org.eclipse.soda.sat.core.record.interfaces.IServiceDetecter detecter,
                           org.osgi.framework.ServiceReference serviceReference,
                           java.lang.Object service)
Specified by:
serviceRemoved in interface org.eclipse.soda.sat.core.record.interfaces.ServiceDetecterListener
Parameters:
detecter - The detecter (IServiceDetecter) parameter.
serviceReference - The service reference (ServiceReference) parameter.
service - The service (Object) parameter.

start

protected void start()
              throws java.lang.Exception
Start.

Overrides:
start in class org.eclipse.soda.sat.core.framework.BaseBundleActivator
Throws:
java.lang.Exception - Exception.

stop

protected void stop()
             throws java.lang.Exception
Stop.

Overrides:
stop in class org.eclipse.soda.sat.core.framework.BaseBundleActivator
Throws:
java.lang.Exception - Exception.

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