1.0.0

org.eclipse.soda.dk.notification.testcase
Class NotificationTestcase

java.lang.Object
  extended by org.eclipse.soda.dk.notification.testcase.NotificationTestcase
All Implemented Interfaces:
NotificationListener, org.osgi.framework.BundleActivator

public class NotificationTestcase
extends java.lang.Object
implements NotificationListener, org.osgi.framework.BundleActivator

Version:
1.0.0

Constructor Summary
NotificationTestcase()
          Constructs an instance of this class.
 
Method Summary
static void main(java.lang.String[] args)
          Main with the specified args parameter.
 void notificationReceived(java.lang.String topic, java.util.Dictionary data)
          Handle publish arrived with the specified topic and data parameters.
 void start(org.osgi.framework.BundleContext context)
          Start with the specified context parameter.
 void stop(org.osgi.framework.BundleContext context)
          Stop with the specified context parameter.
 void test1()
          Test1.
 void test2()
          Test2.
 void test3()
          Test3.
 void test4()
          Test4.
 void test5()
          Test5.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationTestcase

public NotificationTestcase()
Constructs an instance of this class.

Method Detail

main

public static void main(java.lang.String[] args)
Main with the specified args parameter. The args (String[]) parameter.

Parameters:
args - The args (String[]) parameter.

notificationReceived

public void notificationReceived(java.lang.String topic,
                                 java.util.Dictionary data)
Handle publish arrived with the specified topic and data parameters. The topic (String) parameter. The data (Object) parameter.

Specified by:
notificationReceived in interface NotificationListener
Parameters:
topic - The topic (String) parameter.
data - The data (Dictionary) parameter.

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Start with the specified context parameter.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - The context (BundleContext) parameter.
Throws:
Exception.
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Stop with the specified context parameter.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - The context (BundleContext) parameter.
Throws:
Exception.
java.lang.Exception

test1

public void test1()
Test1.


test2

public void test2()
Test2.


test3

public void test3()
Test3.


test4

public void test4()
Test4.


test5

public void test5()
Test5.


1.0.0

Copyright (c) 1999, 2007 IBM