2008-02-07 1.1.0

org.eclipse.soda.dk.multicast.transport.bundle
Class MulticastTransportBundle

java.lang.Object
  extended by org.eclipse.soda.sat.core.framework.BaseBundleActivator
      extended by org.eclipse.soda.dk.transport.bundle.TransportBundle
          extended by org.eclipse.soda.dk.multicast.transport.bundle.MulticastTransportBundle
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class MulticastTransportBundle
extends TransportBundle
implements org.osgi.framework.BundleActivator

Multicast Transport.

The transport bundle activator class creates and registers the MulticastTransport transport.

The devicekit properties keys and default values.

The list of exported services:

Version:
1.1.0
See Also:
MulticastTransportService, TransportService

Field Summary
static java.lang.String CLASS_NAME
          Defines the class name.
static java.lang.String[] DEVICE_CATEGORY
          Defines the org.osgi.service.device.Constants.DEVICE_CATEGORY property.
static java.lang.String[] EXPORTED_SERVICE_NAMES
          Defines the service name(s) to be registered by the MulticastTransport bundle.
 
Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
NO_SERVICES
 
Constructor Summary
MulticastTransportBundle()
           
 
Method Summary
 java.util.Hashtable createProperties()
          Gets the properties to be registered with the service(s).
 TransportService createService(ConnectionService connection)
          Creates the transport service to be registered with the OSGi system.
 java.lang.String[] getExportedServiceNames()
          Return the exported service name(s) to be registered by the MulticastTransport bundle.
 
Methods inherited from class org.eclipse.soda.dk.transport.bundle.TransportBundle
activate, deactivate, getDefaultConnection, getServiceName, getTransport, log, log, setTransport
 
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, 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
 
Methods inherited from interface org.osgi.framework.BundleActivator
start, stop
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the class name. Generated field and should not be changed.

See Also:
Constant Field Values

DEVICE_CATEGORY

public static final java.lang.String[] DEVICE_CATEGORY
Defines the org.osgi.service.device.Constants.DEVICE_CATEGORY property. Generated field and should not be changed.


EXPORTED_SERVICE_NAMES

public static final java.lang.String[] EXPORTED_SERVICE_NAMES
Defines the service name(s) to be registered by the MulticastTransport bundle.
org.eclipse.soda.dk.transport.service.TransportService
Generated field and should not be changed.

Constructor Detail

MulticastTransportBundle

public MulticastTransportBundle()
Method Detail

createProperties

public java.util.Hashtable createProperties()
Gets the properties to be registered with the service(s).

Overrides:
createProperties in class TransportBundle
Returns:
Hashtable of properties.
org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_CLASS Multicast
org.osgi.framework.Constants.SERVICE_PID MulticastTransportService.SERVICE_NAME
org.osgi.service.device.Constants.DRIVER_ID MulticastTransport
org.osgi.framework.Constants.SERVICE_RANKING 6
org.osgi.service.device.Constants.DEVICE_CATEGORY TransportService

createService

public TransportService createService(ConnectionService connection)
Creates the transport service to be registered with the OSGi system.

Specified by:
createService in class TransportBundle
Parameters:
connection - The connection service to be used when creating this transport service.
Returns:
Object The transport service
See Also:
MulticastTransport

getExportedServiceNames

public java.lang.String[] getExportedServiceNames()
Return the exported service name(s) to be registered by the MulticastTransport bundle.

Specified by:
getExportedServiceNames in class TransportBundle
Returns:
String[] The transport's service names.

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