|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectManagedServiceFactoryBundleActivator
org.eclipse.soda.dk.transport.factory.TransportFactory
org.eclipse.soda.dk.multicast.transport.factory.MulticastTransportFactory
public class MulticastTransportFactory
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:
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.dk.transport.factory.TransportFactory |
|---|
ID_KEY_FILTER, METATYPE_SERVICE, OPTIONAL_SERVICE, OPTIONAL_SERVICES |
| Constructor Summary | |
|---|---|
MulticastTransportFactory()
|
|
| 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(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
IBundleActivationManager manager)
Return the exported service name(s) to be registered by the MulticastTransport bundle. |
| Methods inherited from class org.eclipse.soda.dk.transport.factory.TransportFactory |
|---|
create, createAdvisor, createImportedServiceFilters, destroy, getImportedServiceNames, getInterestServiceName, getOptionalImportedServiceNames, getOptionalImportedServiceNames, handleAcquiredOptionalImportedService, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, handleReleasedOptionalImportedService, isFactoryConnection, update, updateProperties, validateConfiguration |
| 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 |
| Methods inherited from interface org.osgi.service.cm.ManagedServiceFactory |
|---|
deleted, getName, updated |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final java.lang.String[] DEVICE_CATEGORY
public static final java.lang.String[] EXPORTED_SERVICE_NAMES
| org.eclipse.soda.dk.transport.service.TransportService |
| Constructor Detail |
|---|
public MulticastTransportFactory()
| Method Detail |
|---|
public java.util.Hashtable createProperties()
createProperties in class TransportFactory| org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_CLASS | Multicast |
| org.osgi.framework.Constants.SERVICE_PID | MulticastTransportService.SERVICE_NAME |
| org.osgi.framework.Constants.SERVICE_DESCRIPTION | Multicast Transport |
| org.osgi.framework.Constants.SERVICE_VENDOR | IBM |
| org.osgi.service.device.Constants.DRIVER_ID | MulticastTransport |
| org.osgi.framework.Constants.SERVICE_RANKING | 6 |
| org.osgi.service.device.Constants.DEVICE_CATEGORY | TransportService |
| org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_REVISION | 1.0.0 |
TransportFactory.updateProperties(Dictionary,Dictionary)public TransportService createService(ConnectionService connection)
createService in class TransportFactoryconnection - The connection service to be used when creating this transport service.
MulticastTransport
public java.lang.String[] getExportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
IBundleActivationManager manager)
getExportedServiceNames in class TransportFactorypid - The pid (String) parameter.oldProperties - The old properties (Dictionary) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||