1.0.0

org.eclipse.soda.dk.testagent.test.factory
Class TestAgentTestFactory

java.lang.Object
  extended by ManagedServiceFactoryBundleActivator
      extended by org.eclipse.soda.dk.testagent.factory.TestAgentFactory
          extended by org.eclipse.soda.dk.testagent.test.factory.TestAgentTestFactory

public class TestAgentTestFactory
extends TestAgentFactory

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.factory.TestAgentFactory
ID_KEY, ID_KEY_FILTER, IMPORTED_SERVICE_NAMES, METATYPE_SERVICE, OPTIONAL_SERVICES
 
Constructor Summary
TestAgentTestFactory()
           
 
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.factory.TestAgentFactory
create, createAdvisor, createImportedServiceFilters, destroy, getExportedServiceNames, getImportedServiceNames, getOptionalImportedServiceNames, getOptionalImportedServiceNames, handleAcquiredOptionalImportedService, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, handleReleasedOptionalImportedService, update, updateProperties, validateConfiguration
 
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

TestAgentTestFactory

public TestAgentTestFactory()
Method Detail

createProperties

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

Overrides:
createProperties in class TestAgentFactory
Returns:
Results of the create properties (Hashtable) value.
See Also:
TestAgentFactory.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 TestAgentFactory
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.

Returns:
String[] The device's service names.

1.0.0

Copyright (c) 2007 IBM