2008-02-07 1.1.0

org.eclipse.soda.dk.url.connection.factory
Class UrlConnectionFactory

java.lang.Object
  extended by org.eclipse.soda.sat.core.framework.BaseBundleActivator
      extended by org.eclipse.soda.sat.core.framework.ManagedServiceFactoryBundleActivator
          extended by org.eclipse.soda.dk.core.factory.CoreFactory
              extended by org.eclipse.soda.dk.connection.factory.ConnectionFactory
                  extended by org.eclipse.soda.dk.url.connection.factory.UrlConnectionFactory
All Implemented Interfaces:
org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceFactoryAdvisor, org.osgi.framework.BundleActivator, org.osgi.service.cm.ManagedServiceFactory

public class UrlConnectionFactory
extends ConnectionFactory
implements org.osgi.service.cm.ManagedServiceFactory, org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceFactoryAdvisor

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

Version:
1.1.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.core.factory.CoreFactory
CONFIGURATION_ADMIN_SERVICE, ID_KEY, ID_KEY_FILTER, ids, IMPORTED_SERVICES, METATYPE_SERVICE, OPTIONAL_SERVICES
 
Fields inherited from class org.eclipse.soda.sat.core.framework.ManagedServiceFactoryBundleActivator
CONFIGURATION_ADMIN_SERVICE_NAME, MANAGED_SERVICE_FACTORY_SERVICE_NAME, NUMBER_OF_CONFIGURATIONS_HINT
 
Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
NO_SERVICES
 
Constructor Summary
UrlConnectionFactory()
           
 
Method Summary
 ConnectionService createService(java.util.Dictionary properties)
           
 java.lang.String[] getExportedServiceNames(java.lang.String pid, java.util.Dictionary oldProperties, java.util.Dictionary properties, org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
          Gets the service names (String[]) value.
 
Methods inherited from class org.eclipse.soda.dk.connection.factory.ConnectionFactory
create, destroy, getServiceName, update
 
Methods inherited from class org.eclipse.soda.dk.core.factory.CoreFactory
createAdvisor, createImportedServiceFilters, createProperties, getIds, getImportedServiceNames, getImportedServiceNames, getInterestServiceName, getOptionalImportedServiceNames, getOptionalImportedServiceNames, handleAcquiredOptionalImportedService, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, handleReleasedOptionalImportedService, setIds, updateProperties, validateConfiguration
 
Methods inherited from class org.eclipse.soda.sat.core.framework.ManagedServiceFactoryBundleActivator
activate, collectImportedServiceNames, createDefaultPid, createPid, deactivate, deleted, getName, getNumberOfConfigurationsHint, getPid, isProxyService, updated
 
Methods inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectOptionalImportedServiceNames, getAsyncStartPriority, getBundle, getBundleContext, getBundleSymbolicName, getDataDirectory, getDataFile, getExportedService, getExportedServiceNamesFromManifest, getExportedServiceProperties, getExportedServiceProperties, getExportedServices, getExportedServices, getFilePropertiesInputStream, getFilePropertiesInputStream, getImportedService, getImportedServiceFilter, getImportedServiceNamesFromManifest, getImportedServiceProperty, getImportedServicePropertyKeys, getImportedServices, getOptionalImportedService, getOptionalImportedServiceFilter, getOptionalImportedServiceProperty, getOptionalImportedServicePropertyKeys, getOptionalImportedServices, getProperties, getPropertiesInputStream, getProperty, getResourcePropertiesInputStream, getResourcePropertiesInputStream, handleException, handleFailedToFindProperties, 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.service.cm.ManagedServiceFactory
deleted, getName, updated
 
Methods inherited from interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceFactoryAdvisor
create, createImportedServiceFilters, destroy, getImportedServiceNames, getOptionalImportedServiceNames, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, update, validateConfiguration
 

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

UrlConnectionFactory

public UrlConnectionFactory()
Method Detail

createService

public ConnectionService createService(java.util.Dictionary properties)
Specified by:
createService in class ConnectionFactory
Parameters:
properties - The properties (Dictionary) parameter.
Returns:
Results of the create service (Object) value.

getExportedServiceNames

public java.lang.String[] getExportedServiceNames(java.lang.String pid,
                                                  java.util.Dictionary oldProperties,
                                                  java.util.Dictionary properties,
                                                  org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Gets the service names (String[]) value.

Specified by:
getExportedServiceNames in class org.eclipse.soda.dk.core.factory.CoreFactory
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.

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