1.0.0

org.eclipse.soda.dk.testagent.test.managed
Class TestAgentTestManaged

java.lang.Object
  extended by BaseBundleActivator
      extended by org.eclipse.soda.dk.testagent.managed.TestAgentManaged
          extended by org.eclipse.soda.dk.testagent.test.managed.TestAgentTestManaged

public class TestAgentTestManaged
extends TestAgentManaged

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.managed.TestAgentManaged
IMPORTED_SERVICE_NAMES, OPTIONAL_SERVICES
 
Constructor Summary
TestAgentTestManaged()
           
 
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.managed.TestAgentManaged
activate, createManagedProperties, deactivate, getImportedServiceNames, getOptionalImportedServiceNames, getService, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, setService, updated, updateProperties
 
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

TestAgentTestManaged

public TestAgentTestManaged()
Method Detail

createProperties

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

Overrides:
createProperties in class TestAgentManaged
Returns:
Results of the create properties (Hashtable) value.
See Also:
TestAgentManaged.createManagedProperties(), TestAgentManaged.updateProperties(Dictionary,Dictionary)

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 TestAgentManaged
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 TestAgentManaged
Returns:
String[] The device's service names.

1.0.0

Copyright (c) 2007 IBM