1.0.0

org.eclipse.soda.dk.testagent.test.bundle
Class TestAgentTestBundle

java.lang.Object
  extended by BaseBundleActivator
      extended by org.eclipse.soda.dk.testagent.bundle.TestAgentBundle
          extended by org.eclipse.soda.dk.testagent.test.bundle.TestAgentTestBundle

public class TestAgentTestBundle
extends TestAgentBundle

test Adapter.

The device bundle activator class creates and registers the testAdapter device.

The list of exported services:

Version:
1.0.0
See Also:
org.eclipse.soda.dk.test.adapter.service.testAdapterService,

See the following specification(s) for more details:


Field Summary
static java.lang.String CLASS_NAME
          Defines the class name.
static java.lang.String[] EXPORTED_SERVICE_NAMES
          Defines the service name(s) to be registered by the testAdapter bundle.
 
Fields inherited from class org.eclipse.soda.dk.testagent.bundle.TestAgentBundle
IMPORTED_SERVICE_NAMES, OPTIONAL_SERVICES
 
Constructor Summary
TestAgentTestBundle()
           
 
Method Summary
 java.util.Hashtable createProperties()
          Create properties and return the Hashtable result.
 TestAgent createService()
          Creates the adapter using the specified device service.
 java.lang.String[] getExportedServiceNames()
          Return the exported service name(s) to be registered by the testAdapter bundle.
 
Methods inherited from class org.eclipse.soda.dk.testagent.bundle.TestAgentBundle
activate, deactivate, getImportedServiceNames, getOptionalImportedServiceNames, getService, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, setService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the class name.

See Also:
Constant Field Values

EXPORTED_SERVICE_NAMES

public static final java.lang.String[] EXPORTED_SERVICE_NAMES
Defines the service name(s) to be registered by the testAdapter bundle.
org.eclipse.soda.dk.adapter.service.AdapterService

Constructor Detail

TestAgentTestBundle

public TestAgentTestBundle()
Method Detail

createProperties

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

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

createService

public TestAgent createService()
Creates the adapter using the specified device service. The device service to used when creating the adatper service.

Specified by:
createService in class TestAgentBundle
Returns:
Object The adapter service created by this bundle.
See Also:
org.eclipse.soda.dk.test.adapter.testAdapter

getExportedServiceNames

public java.lang.String[] getExportedServiceNames()
Return the exported service name(s) to be registered by the testAdapter bundle.

Overrides:
getExportedServiceNames in class TestAgentBundle
Returns:
String[] The device's service names.

1.0.0

Copyright (c) 2007 IBM