|
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.managed.AdapterManaged
public abstract class AdapterManaged
The DeviceBundle 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 | |
|---|---|
AdapterManaged()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createService()
Create service and return the Object result. |
AdapterService |
createService(DeviceService device)
Create service with the specified device parameter and return the Object result. |
protected void |
deactivate()
Deactivate. |
AdapterService |
getAdapter()
Return the adapter. |
DeviceService |
getDevice()
Get the DeviceService to be used by the adapter. |
java.lang.String |
getDeviceServiceName()
Method getDeviceServiceName. |
java.lang.String |
getInterestServiceName()
Gets the interest service name (String) value. |
java.lang.String[] |
getMatchAdapterClasses()
Return the match strings. |
java.lang.String |
getServiceName()
Return the service name. |
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 |
|---|
activate, destroyExportedServices, getInterest |
| Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle |
|---|
createProperties, getExportedServiceNames, 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 AdapterManaged()
| Method Detail |
|---|
public java.lang.Object createService()
createService in class ServiceBundleObject) value.createService(DeviceService)public AdapterService createService(DeviceService device)
DeviceService) parameter.
device - The device (DeviceService) parameter.
Object) value.createService()protected void deactivate()
public AdapterService getAdapter()
AdapterService)
value.public DeviceService getDevice()
DeviceService) value.public java.lang.String getDeviceServiceName()
String)
value.public java.lang.String getInterestServiceName()
ServiceInterestBundle
getInterestServiceName in class ServiceInterestBundleString)
value.ServiceInterestBundle.getInterestServiceName()public java.lang.String[] getMatchAdapterClasses()
String[])
value.public java.lang.String getServiceName()
String) value.getDeviceServiceName(),
getInterestServiceName()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.
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 | |||||||||