|
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.agent.managed.AgentManaged
public abstract class AgentManaged
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 | |
|---|---|
AgentManaged()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createService()
Create service and return the Object result. |
AgentService |
createService(DeviceService device)
Create service with the specified device parameter and return the Object result. |
protected void |
deactivate()
Deactivate. |
AgentService |
getAgent()
Return the agent. |
DeviceService |
getDevice()
Get the DeviceService to be used by the agent. |
java.lang.String |
getDeviceServiceName()
Method getDeviceServiceName. |
java.lang.String |
getInterestServiceName()
Gets the interest service name (String) value. |
java.lang.String[] |
getMatchAgentClasses()
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 AgentManaged()
| Method Detail |
|---|
public java.lang.Object createService()
createService in class ServiceBundleObject) value.createService(DeviceService)public AgentService createService(DeviceService device)
DeviceService) parameter.
device - The device (DeviceService) parameter.
Object) value.createService()protected void deactivate()
public AgentService getAgent()
AgentService) 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[] getMatchAgentClasses()
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 | |||||||||