|
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.device.managed.DeviceManaged
public abstract class DeviceManaged
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 | |
|---|---|
DeviceManaged()
|
|
| 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 DeviceService |
createService(TransportService transport)
Create service with the specified transport parameter and return the Object result. |
protected void |
deactivate()
Deactivate. |
DeviceService |
getDevice()
Return the device. |
java.lang.String[] |
getExportedServiceNames()
Gets the exported service names (String[]) value. |
TransportService |
getTransport()
Get the TransportService to be used by the device. |
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 DeviceManaged()
| 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(TransportService)public abstract DeviceService createService(TransportService transport)
transport - The transport (TransportService) parameter.
Object) value.createService()protected void deactivate()
public DeviceService getDevice()
DeviceService) value.public java.lang.String[] getExportedServiceNames()
getExportedServiceNames in class ServiceBundleString[]) value.public TransportService getTransport()
TransportService) value.public void setInterest(java.lang.Object interest)
ServiceInterestBundleObject) parameter.
setInterest in class ServiceInterestBundleinterest - The interest (Object) parameter.ServiceInterestBundle.setInterest(Object)
public void updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
table - The table (Dictionary) parameter.from - The from (Dictionary) parameter.createManagedProperties()
public void updated(java.util.Dictionary properties)
throws org.osgi.service.cm.ConfigurationException
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 | |||||||||