2008-02-07 1.1.0

org.eclipse.soda.dk.device.servlet.bundle
Class DeviceServletBundle

java.lang.Object
  extended by org.eclipse.soda.sat.core.framework.BaseBundleActivator
      extended by org.eclipse.soda.dk.device.servlet.bundle.DeviceServletBundle
All Implemented Interfaces:
org.osgi.framework.BundleActivator
Direct Known Subclasses:
DeviceBundleServletBundle, DeviceConfigurationServletBundle, DeviceDeviceServletBundle, DeviceMetadataServletBundle, DevicePropertyServletBundle, DeviceServiceServletBundle

public class DeviceServletBundle
extends org.eclipse.soda.sat.core.framework.BaseBundleActivator

Version:
1.1.0

Field Summary
static java.lang.String[] IMPORTED_SERVICES
          Define the imported services (String[]) constant.
 
Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
NO_SERVICES
 
Constructor Summary
DeviceServletBundle()
           
 
Method Summary
protected  void activate()
          Create exported services.
 java.util.Hashtable createProperties()
          Create properties and return the Hashtable result.
 DeviceServlet createServlet()
          Create servlet and return the DeviceServlet result.
protected  void deactivate()
          Deactivate.
 java.lang.String[] getExportServices()
          Gets the export services (String[]) value.
protected  java.lang.String[] getImportedServiceNames()
          Gets the imported service names (String[]) value.
 java.lang.String getInterestServiceName()
          Gets the interest service name (String) value.
 DeviceServlet getServlet()
          Gets the servlet (DeviceServlet) value.
 void setServlet(DeviceServlet servlet)
           
 
Methods inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectImportedServiceNames, collectOptionalImportedServiceNames, getAsyncStartPriority, getBundle, getBundleContext, getBundleSymbolicName, getDataDirectory, getDataFile, getExportedService, getExportedServiceNamesFromManifest, getExportedServiceProperties, getExportedServiceProperties, getExportedServices, getExportedServices, getFilePropertiesInputStream, getFilePropertiesInputStream, getImportedService, getImportedServiceFilter, 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
 

Field Detail

IMPORTED_SERVICES

public static final java.lang.String[] IMPORTED_SERVICES
Define the imported services (String[]) constant.

Constructor Detail

DeviceServletBundle

public DeviceServletBundle()
Method Detail

activate

protected void activate()
Create exported services.

Overrides:
activate in class org.eclipse.soda.sat.core.framework.BaseBundleActivator

createProperties

public java.util.Hashtable createProperties()
Create properties and return the Hashtable result.

Returns:
Results of the create properties (Hashtable) value.

createServlet

public DeviceServlet createServlet()
Create servlet and return the DeviceServlet result.

Returns:
Results of the create servlet (DeviceServlet) value.
See Also:
getServlet(), setServlet(DeviceServlet)

deactivate

protected void deactivate()
Deactivate.

Overrides:
deactivate in class org.eclipse.soda.sat.core.framework.BaseBundleActivator

getExportServices

public java.lang.String[] getExportServices()
Gets the export services (String[]) value.

Returns:
The export services (String[]) value.

getImportedServiceNames

protected java.lang.String[] getImportedServiceNames()
Gets the imported service names (String[]) value.

Overrides:
getImportedServiceNames in class org.eclipse.soda.sat.core.framework.BaseBundleActivator
Returns:
The imported service names (String[]) value.

getInterestServiceName

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

Returns:
The interest service name (String) value.

getServlet

public DeviceServlet getServlet()
Gets the servlet (DeviceServlet) value.

Returns:
The servlet (DeviceServlet) value.
See Also:
createServlet(), setServlet(DeviceServlet)

setServlet

public void setServlet(DeviceServlet servlet)
Parameters:
servlet - The servlet (DeviceServlet) parameter.
See Also:
createServlet(), getServlet()

2008-02-07 1.1.0

Copyright (c) 1999, 2008 IBM and others. See license in Legal section. OSGi Framework Version 3.3.1.R33x_v20070828