1.0.0

org.eclipse.soda.dk.random.access.file.connection.factory
Class RandomAccessFileConnectionFactory

java.lang.Object
  extended by ManagedServiceFactoryBundleActivator
      extended by org.eclipse.soda.dk.connection.factory.ConnectionFactory
          extended by org.eclipse.soda.dk.random.access.file.connection.factory.RandomAccessFileConnectionFactory
All Implemented Interfaces:
org.osgi.service.cm.ManagedServiceFactory

public class RandomAccessFileConnectionFactory
extends ConnectionFactory
implements org.osgi.service.cm.ManagedServiceFactory

The ConnectionBundle is the standard Bundle Activator for all other transport bundle activators to subclass.

Version:
1.0.0

Field Summary
static java.lang.String CLASS_NAME
          Define the class name (String) constant.
static java.lang.String[] SERVICE_NAMES
          Define the service names (String[]) constant.
 
Fields inherited from class org.eclipse.soda.dk.connection.factory.ConnectionFactory
METATYPE_SERVICE, OPTIONAL_SERVICE
 
Constructor Summary
RandomAccessFileConnectionFactory()
           
 
Method Summary
 ConnectionService createService(java.util.Dictionary properties)
          Create service with the specified properties parameter and return the Object result.
 java.lang.String[] getExportedServiceNames(java.lang.String pid, java.util.Dictionary oldProperties, java.util.Dictionary properties, IBundleActivationManager manager)
          Gets the service names (String[]) value.
 
Methods inherited from class org.eclipse.soda.dk.connection.factory.ConnectionFactory
create, createAdvisor, createImportedServiceFilters, createProperties, destroy, getImportedServiceNames, getOptionalImportedServiceNames, getOptionalImportedServiceNames, getServiceName, handleAcquiredOptionalImportedService, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, handleReleasedOptionalImportedService, 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.service.cm.ManagedServiceFactory
deleted, getName, updated
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Define the class name (String) constant.

See Also:
Constant Field Values

SERVICE_NAMES

public static final java.lang.String[] SERVICE_NAMES
Define the service names (String[]) constant.

Constructor Detail

RandomAccessFileConnectionFactory

public RandomAccessFileConnectionFactory()
Method Detail

createService

public ConnectionService createService(java.util.Dictionary properties)
Create service with the specified properties parameter and return the Object result. The properties (Dictionary) parameter.

Specified by:
createService in class ConnectionFactory
Parameters:
properties - The properties (Dictionary) parameter.
Returns:
Results of the create service (Object) value.
See Also:
#handleAcquiredImportedService(String,Object,Object,IBundleActivationManager), ConnectionFactory.handleAcquiredOptionalImportedService(String,Object,String,Object,IBundleActivationManager), ConnectionFactory.handleAcquiredOptionalImportedService(String,Object), #handleReleasedImportedService(String,Object,Object,IBundleActivationManager), ConnectionFactory.handleReleasedOptionalImportedService(String,Object,String,Object,IBundleActivationManager), ConnectionFactory.handleReleasedOptionalImportedService(String,Object)

getExportedServiceNames

public java.lang.String[] getExportedServiceNames(java.lang.String pid,
                                                  java.util.Dictionary oldProperties,
                                                  java.util.Dictionary properties,
                                                  IBundleActivationManager manager)
Gets the service names (String[]) value.

Specified by:
getExportedServiceNames in class ConnectionFactory
Parameters:
pid - The pid (String) parameter.
oldProperties - The old properties (Dictionary) parameter.
properties - The properties (Dictionary) parameter.
manager - The manager (IBundleActivationManager) parameter.
Returns:
The service names (String[]) value. The pid (String) parameter. The old properties (Dictionary) parameter. The properties (Dictionary) parameter. The manager (IBundleActivationManager) parameter.

1.0.0

Copyright (c) 1999, 2007 IBM