1.0.0

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

java.lang.Object
  extended by BaseBundleActivator
      extended by org.eclipse.soda.dk.device.servlet.bundle.DeviceServletBundle
Direct Known Subclasses:
DeviceBundleServletBundle, DeviceConfigurationServletBundle, DeviceDeviceServletBundle, DeviceMetadataServletBundle, DevicePropertyServletBundle, DeviceServiceServletBundle

public class DeviceServletBundle
extends BaseBundleActivator

Version:
1.0.0

Field Summary
static java.lang.String[] IMPORTED_SERVICES
          Define the imported services (String[]) constant.
 
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)
          Sets the servlet value.
 
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.


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.


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.

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)
Sets the servlet value. The servlet (DeviceServlet) parameter.

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

1.0.0

Copyright (c) 1999, 2007 IBM