|
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.adapter.test.managed.AdapterTestManaged
public abstract class AdapterTestManaged
The TransportBundle is the standard Bundle Activator for all other transport bundle activators to subclass.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
DEVICE_CLASS, DEVICE_REVISION |
| Constructor Summary | |
|---|---|
AdapterTestManaged()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Create exported services. |
java.util.Hashtable |
createManagedProperties()
Create managed properties and return the Hashtable result. |
java.lang.Object |
createService()
Create service and return the Object result. |
abstract AdapterTestService |
createService(AdapterService transport)
Create service with the specified transport parameter and return the Object result. |
protected void |
deactivate()
Deactivate. |
AdapterService |
getAdapter()
Get the AdapterService to be used by the adapterTest. |
AdapterTestService |
getAdapterTest()
Return the adapterTest. |
java.lang.String[] |
getExportedServiceNames()
Gets the exported service names (String[]) value. |
void |
setInterest(java.lang.Object interest)
Sets the interest value. |
void |
updated(java.util.Dictionary properties)
Updated with the specified properties parameter. |
void |
updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
Update properties with the specified table and from parameters. |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceInterestBundle |
|---|
destroyExportedServices, getInterest, getInterestServiceName |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
createProperties, getService, log, log, setService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdapterTestManaged()
| Method Detail |
|---|
protected void activate()
activate in class ServiceInterestBundlepublic java.util.Hashtable createManagedProperties()
Hashtable)
value.public java.lang.Object createService()
createService in class ServiceBundleObject) value.createService(AdapterService)public abstract AdapterTestService createService(AdapterService transport)
AdapterService) parameter.
transport - The transport (AdapterService) parameter.
Object) value.createService()protected void deactivate()
public AdapterService getAdapter()
AdapterService)
value.public AdapterTestService getAdapterTest()
AdapterService)
value.public java.lang.String[] getExportedServiceNames()
getExportedServiceNames in class ServiceBundleString[]) value.public void setInterest(java.lang.Object interest)
ServiceInterestBundleObject) parameter.
setInterest in class ServiceInterestBundleinterest - The interest (Object) parameter.The interest (Object) parameter.
public void updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
Dictionary) parameter.
The from (Dictionary) parameter.
table - The table (Dictionary) parameter.from - The from (Dictionary) parameter.createManagedProperties()
public void updated(java.util.Dictionary properties)
throws org.osgi.service.cm.ConfigurationException
Dictionary) parameter.
Configuration Exception.
updated in interface org.osgi.service.cm.ManagedServiceproperties - The properties (Dictionary) parameter.
org.osgi.service.cm.ConfigurationException - Configuration Exception.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||