2008-07-29 1.1.0

org.eclipse.soda.dk.connection.bundle
Class ServiceInterestBundle

java.lang.Object
  extended by org.eclipse.soda.sat.core.framework.BaseBundleActivator
      extended by org.eclipse.soda.dk.connection.bundle.ServiceBundle
          extended by org.eclipse.soda.dk.connection.bundle.ServiceInterestBundle
All Implemented Interfaces:
org.osgi.framework.BundleActivator
Direct Known Subclasses:
AdapterTestBundle, AdapterTestManaged, DeviceInterestBundle, DeviceTestBundle, DeviceTestManaged, ProfileTestManaged, TransportTestBundle, TunnelTransportBundle

public abstract class ServiceInterestBundle
extends ServiceBundle

The ServiceInterestBundle extends the ServiceBundle and because this bundle actiator needs to get an interested service.

Version:
1.1.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle
DEVICE_CLASS, DEVICE_REVISION
 
Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
NO_SERVICES
 
Constructor Summary
ServiceInterestBundle()
           
 
Method Summary
protected  void activate()
          Create exported services.
protected  void destroyExportedServices()
          Destroy exported services.
 java.lang.Object getInterest()
          Gets the interest (Object) value.
 java.lang.String getInterestServiceName()
          Gets the interest service name (String) value.
 void setInterest(java.lang.Object interest)
           
 void updateProperties(java.util.Dictionary table, java.util.Dictionary from)
           
 
Methods inherited from class org.eclipse.soda.dk.connection.bundle.ServiceBundle
createProperties, createService, getExportedServiceNames, getService, log, log, setService
 
Methods inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectImportedServiceNames, collectOptionalImportedServiceNames, deactivate, getAsyncStartPriority, getBundle, getBundleActivationManager, getBundleContext, getBundleSymbolicName, getDataDirectory, getDataFile, getExportedService, getExportedServiceNamesFromManifest, getExportedServiceProperties, getExportedServiceProperties, getExportedServices, getExportedServices, getFilePropertiesInputStream, getFilePropertiesInputStream, getImportedService, getImportedServiceFilter, getImportedServiceNames, getImportedServiceNamesFromManifest, getImportedServiceProperty, getImportedServicePropertyKeys, getImportedServices, getOptionalImportedService, getOptionalImportedServiceFilter, getOptionalImportedServiceNames, getOptionalImportedServiceProperty, getOptionalImportedServicePropertyKeys, getOptionalImportedServices, getProperties, getPropertiesInputStream, getProperty, getResourcePropertiesInputStream, getResourcePropertiesInputStream, handleAcquiredOptionalImportedService, handleException, handleFailedToFindProperties, handleReleasedOptionalImportedService, isStartAsync, isTransient, isUninstallable, releaseImportedService, releaseImportedServices, releaseOptionalImportedServices, removeExportedService, removeExportedService, removeExportedServices, removeImportedServiceFilter, removeOptionalImportedServiceFilter, restartFramework, setExportedServiceProperties, setExportedServiceProperties, shutdownFramework, start, start, stop, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterestBundle

public ServiceInterestBundle()
Method Detail

activate

protected void activate()
Create exported services.

Overrides:
activate in class ServiceBundle

destroyExportedServices

protected void destroyExportedServices()
Destroy exported services.

Overrides:
destroyExportedServices in class ServiceBundle

getInterest

public java.lang.Object getInterest()
Gets the interest (Object) value.

Returns:
The interest (Object) value.
See Also:
setInterest(Object)

getInterestServiceName

public java.lang.String getInterestServiceName()
Gets the interest service name (String) value.

Returns:
The interest service name (String) value.

setInterest

public void setInterest(java.lang.Object interest)
Parameters:
interest - The interest (Object) parameter.
See Also:
getInterest()

updateProperties

public void updateProperties(java.util.Dictionary table,
                             java.util.Dictionary from)
Parameters:
table - The table (Dictionary) parameter.
from - The from (Dictionary) parameter.

2008-07-29 1.1.0

Copyright (c) 1999, 2008 IBM and others. See license in Legal section. OSGi Framework Version 3.4.0.v20080605-1900