|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.sat.core.framework.BaseBundleActivator
org.eclipse.soda.sat.core.framework.ManagedServiceFactoryBundleActivator
org.eclipse.soda.dk.notification.factory.NotificationFactory
public class NotificationFactory
The TransportBundle is the standard Bundle Activator for all other transport bundle activators to subclass.
| Field Summary | |
|---|---|
static java.lang.String |
EVENT_ADMIN_NAME
Define the event admin name (String) constant. |
static java.lang.String[] |
IMPORTED_SERVICES
Define the imported services (String[]) constant. |
| 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 | |
|---|---|
NotificationFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
create(java.lang.String pid,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Create with the specified pid, properties and manager parameters and return the Object result. |
protected org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceFactoryAdvisor |
createAdvisor()
Create advisor and return the IManagedServiceFactoryAdvisor result. |
void |
createImportedServiceFilters(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Create imported service filters with the specified pid, old properties, properties and manager parameters. |
java.util.Hashtable |
createProperties()
Create the properties. |
java.lang.Object |
createService(java.util.Dictionary properties)
|
void |
destroy(java.lang.String pid,
java.lang.Object object,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Destroy with the specified pid, object, properties and manager parameters. |
java.lang.String[] |
getImportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Get imported service names with the specified pid, old properties, properties and manager parameters and return the String[] result. |
java.lang.String[] |
getMatchDeviceClasses()
Return the match strings. |
java.lang.String[] |
getOptionalImportedServiceNames(java.lang.String arg0,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg3)
Get optional imported service names with the specified arg0, arg1, arg2 and arg3 parameters and return the String[] result. |
java.lang.String |
getServiceName()
Return the service name. |
java.lang.String[] |
getServiceNames()
Gets the service names (String[]) value. |
void |
handleAcquiredImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.Object service,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Handle acquired imported service with the specified pid, object, service and manager parameters. |
void |
handleAcquiredOptionalImportedService(java.lang.String arg0,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg4)
Handle acquired optional imported service with the specified arg0, arg1, arg2, arg3 and arg4 parameters. |
void |
handleReleasedImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.Object service,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Handle released imported service with the specified pid, object, service and manager parameters. |
void |
handleReleasedOptionalImportedService(java.lang.String arg0,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg4)
Handle released optional imported service with the specified arg0, arg1, arg2, arg3 and arg4 parameters. |
java.lang.Object |
update(java.lang.String pid,
java.lang.Object object,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Update with the specified pid, object, old properties, properties and manager parameters and return the Object result. |
void |
updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
|
| 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, 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.service.cm.ManagedServiceFactory |
|---|
deleted, getName, updated |
| Field Detail |
|---|
public static final java.lang.String EVENT_ADMIN_NAME
public static final java.lang.String[] IMPORTED_SERVICES
| Constructor Detail |
|---|
public NotificationFactory()
| Method Detail |
|---|
public java.lang.Object create(java.lang.String pid,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The properties (Dictionary) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
Object) value.protected org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceFactoryAdvisor createAdvisor()
createAdvisor in class org.eclipse.soda.sat.core.framework.ManagedServiceFactoryBundleActivatorIManagedServiceFactoryAdvisor) value.
public void createImportedServiceFilters(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The old properties (Dictionary) parameter.
The properties (Dictionary) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.oldProperties - The old properties (Dictionary) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.public java.util.Hashtable createProperties()
Hashtable)
value.updateProperties(Dictionary,Dictionary)public java.lang.Object createService(java.util.Dictionary properties)
properties - The properties (Dictionary) parameter.
Object) value.handleAcquiredImportedService(String,Object,Object,IBundleActivationManager),
handleAcquiredOptionalImportedService(String,Object,String,Object,IBundleActivationManager),
handleReleasedImportedService(String,Object,Object,IBundleActivationManager),
handleReleasedOptionalImportedService(String,Object,String,Object,IBundleActivationManager)
public void destroy(java.lang.String pid,
java.lang.Object object,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The object(Object) parameter.
The properties (Dictionary) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.object - The object (Object) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
public java.lang.String[] getImportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The old properties (Dictionary) parameter.
The properties (Dictionary) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.oldProperties - The old properties (Dictionary) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
String[])
value.getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)public java.lang.String[] getMatchDeviceClasses()
String[])
value.
public java.lang.String[] getOptionalImportedServiceNames(java.lang.String arg0,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg3)
String) parameter.
The arg1 (Dictionary) parameter.
The arg2 (Dictionary) parameter.
The arg3 (IBundleActivationManager)
parameter.
arg0 - The arg0 (String) parameter.arg1 - The arg1 (Dictionary) parameter.arg2 - The arg2 (Dictionary) parameter.arg3 - The arg3 (IBundleActivationManager) parameter.
String[])
value.public java.lang.String getServiceName()
String) value.public java.lang.String[] getServiceNames()
String[]) value.getImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager),
getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)
public void handleAcquiredImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.Object service,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The object (Object) parameter.
The service (Object) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.object - The object (Object) parameter.service - The service (Object) parameter.manager - The manager (IBundleActivationManager) parameter.
public void handleAcquiredOptionalImportedService(java.lang.String arg0,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg4)
String) parameter.
The arg1 (Object) parameter.
The arg2 (String) parameter.
The arg3 (Object) parameter.
The arg4 (IBundleActivationManager)
parameter.
arg0 - The arg0 (String) parameter.arg1 - The arg1 (Object) parameter.arg2 - The arg2 (String) parameter.arg3 - The arg3 (Object) parameter.arg4 - The arg4 (IBundleActivationManager) parameter.
public void handleReleasedImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.Object service,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The object (Object) parameter.
The service (Object) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.object - The object (Object) parameter.service - The service (Object) parameter.manager - The manager (IBundleActivationManager) parameter.
public void handleReleasedOptionalImportedService(java.lang.String arg0,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg4)
String) parameter.
The arg1 (Object) parameter.
The arg2 (String) parameter.
The arg3 (Object) parameter.
The arg4 (IBundleActivationManager)
parameter.
arg0 - The arg0 (String) parameter.arg1 - The arg1 (Object) parameter.arg2 - The arg2 (String) parameter.arg3 - The arg3 (Object) parameter.arg4 - The arg4 (IBundleActivationManager) parameter.
public java.lang.Object update(java.lang.String pid,
java.lang.Object object,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
String) parameter.
The object(Object) parameter.
The old properties (Dictionary) parameter.
The properties (Dictionary) parameter.
The manager (IBundleActivationManager)
parameter.
pid - The pid (String) parameter.object - The object (Object) parameter.oldProperties - The old properties (Dictionary) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
Object) value.
public void updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
table - The table (Dictionary) parameter.from - The from (Dictionary) parameter.createProperties()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||