|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.sat.core.framework.BaseBundleActivator
org.eclipse.soda.dk.connection.bundle.ServiceBundle
org.eclipse.soda.dk.connection.bundle.ServiceInterestBundle
org.eclipse.soda.dk.adapter.test.bundle.AdapterTestBundle
public abstract class AdapterTestBundle
Adapter Test Bundle class.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the class name. |
protected AdapterTestService |
testCase
Save the tester object. |
| Fields inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
DEVICE_CLASS, DEVICE_REVISION |
| Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
NO_SERVICES |
| Constructor Summary | |
|---|---|
AdapterTestBundle()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Activate. |
java.util.Hashtable |
createProperties()
Gets the properties to be registered with the service(s). |
java.lang.Object |
createService()
Create service and return the Object result. |
abstract AdapterTestService |
createService(AdapterService device)
|
protected void |
deactivate()
Stop the test case and the bundle. |
java.lang.String[] |
getExportedServiceNames()
Return the service name(s) to be registered by the AdapterTest bundle. |
abstract java.lang.String |
getInterestServiceName()
Gets the device service name to be tested. |
void |
setInterest(java.lang.Object interest)
|
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceInterestBundle |
|---|
destroyExportedServices, getInterest, updateProperties |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
getService, log, log, setService |
| Methods inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectImportedServiceNames, collectOptionalImportedServiceNames, getAsyncStartPriority, getBundle, getBundleActivationManager, 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, start, stop, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.osgi.framework.BundleActivator |
|---|
start, stop |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
protected AdapterTestService testCase
| Constructor Detail |
|---|
public AdapterTestBundle()
| Method Detail |
|---|
protected void activate()
activate in class ServiceInterestBundlepublic java.util.Hashtable createProperties()
createProperties in class ServiceBundlepublic java.lang.Object createService()
createService in class ServiceBundleObject) value.createService(AdapterService)public abstract AdapterTestService createService(AdapterService device)
device - The device (AdapterService) parameter.
Object) value.createService()protected void deactivate()
deactivate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic java.lang.String[] getExportedServiceNames()
getExportedServiceNames in class ServiceBundleString[])
value.public abstract java.lang.String getInterestServiceName()
getInterestServiceName in class ServiceInterestBundleString)
value.public void setInterest(java.lang.Object interest)
setInterest in class ServiceInterestBundleinterest - The interest (Object) parameter.ServiceInterestBundle.getInterest()
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||