|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBaseBundleActivator
org.eclipse.soda.dk.connection.bundle.ServiceBundle
org.eclipse.soda.dk.connection.bundle.ServiceInterestBundle
org.eclipse.soda.dk.profile.test.bundle.ProfileTestBundle
public abstract class ProfileTestBundle
Device Test class.
org.eclipse.soda.dk.connection.bundle,
org.eclipse.soda.dk.device.bundle,
org.eclipse.soda.dk.device.service,
org.eclipse.soda.dk.device.test,
org.eclipse.soda.dk.transport.bundle,
org.osgi.framework,
org.eclipse.soda.dk.connection.bundle,
org.eclipse.soda.dk.device.bundle,
org.eclipse.soda.dk.device.service,
org.eclipse.soda.dk.device.test,
org.eclipse.soda.dk.transport.bundle,
org.osgi.framework| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the class name. |
protected ProfileTestService |
testCase
Save the tester object. |
| Fields inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
DEVICE_CLASS, DEVICE_REVISION |
| Constructor Summary | |
|---|---|
ProfileTestBundle()
|
|
| 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 ProfileTestService |
createService(ProfileService device)
Create the Tester for the specified 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 ProfileTest bundle. |
abstract java.lang.String |
getInterestServiceName()
Gets the device service name to be tested. |
void |
setInterest(java.lang.Object interest)
Sets the interest object. |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceInterestBundle |
|---|
destroyExportedServices, getInterest |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
getService, log, log, setService |
| 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 ProfileTestService testCase
| Constructor Detail |
|---|
public ProfileTestBundle()
| 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(ProfileService)public abstract ProfileTestService createService(ProfileService device)
ProfileService) parameter.
device - The device (ProfileService) parameter.
Object) value.createService()protected void deactivate()
public 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)
Object) parameter.
setInterest in class ServiceInterestBundleinterest - The interest (Object) parameter.ServiceInterestBundle.getInterest()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||