|
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.dk.transport.test.managed.TransportTestManaged
public abstract class TransportTestManaged
The TransportBundle is the standard Bundle Activator for all other transport bundle activators to subclass.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
NO_SERVICES |
| Constructor Summary | |
|---|---|
TransportTestManaged()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Create exported services. |
java.util.Hashtable |
createManagedProperties()
Create managed properties and return the Hashtable result. |
java.util.Hashtable |
createProperties()
Create the properties. |
abstract TransportTestService |
createService(TransportService transport)
|
void |
createTransportTest(java.util.Dictionary properties,
TransportService transport)
|
protected void |
deactivate()
Deactivate. |
ConnectionService |
getDefaultConnection()
Gets the default connection to be used by this transport service. |
java.lang.String[] |
getExportedServiceNames()
Gets the exported service names (String[]) value. |
java.util.Dictionary |
getManagedProperties()
Gets the managed properties (Dictionary) value. |
java.lang.String |
getServiceName()
Return the service name to be registered. |
TransportService |
getTransport()
Gets the transport (TransportService) value. |
TransportTestService |
getTransportTest()
Gets the transport (TransportService) value. |
protected void |
handleAcquiredImportedService(java.lang.Object service)
|
protected void |
handleReleasedImportedService(java.lang.Object service)
|
boolean |
isFactoryConnection()
Gets the factory connection (boolean) value. |
boolean |
isFactoryConnection(java.util.Dictionary properties)
|
void |
log(int severity,
java.lang.String message)
|
void |
log(int severity,
java.lang.String message,
java.lang.Throwable exception)
|
protected boolean |
requiresAllImportedServices()
Requires all imported services and return the boolean result. |
void |
setFactoryConnection(boolean factoryConnection)
|
void |
setManagedProperties(java.util.Dictionary managedProperties)
Sets the managed properties value. |
void |
setTransport(TransportService transport)
Sets the transport value. |
void |
setTransportTest(TransportTestService transportTest)
|
void |
updated(java.util.Dictionary properties)
Updated with the specified properties parameter. |
void |
updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
|
| 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 |
| Constructor Detail |
|---|
public TransportTestManaged()
| Method Detail |
|---|
protected void activate()
activate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic java.util.Hashtable createManagedProperties()
Hashtable)
value.getManagedProperties(),
setManagedProperties(Dictionary)public java.util.Hashtable createProperties()
Hashtable)
value.createManagedProperties(),
getManagedProperties(),
setManagedProperties(Dictionary),
updateProperties(Dictionary,Dictionary)public abstract TransportTestService createService(TransportService transport)
transport - The transport (TransportService) parameter.
Object) value.handleAcquiredImportedService(Object),
handleReleasedImportedService(Object)
public void createTransportTest(java.util.Dictionary properties,
TransportService transport)
properties - The properties (Dictionary) parameter.transport - The transport (TransportService) parameter.getTransportTest(),
setTransportTest(TransportTestService)protected void deactivate()
deactivate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic ConnectionService getDefaultConnection()
TransportService)
value.public java.lang.String[] getExportedServiceNames()
String[]) value.public java.util.Dictionary getManagedProperties()
Dictionary) value.createManagedProperties(),
setManagedProperties(Dictionary)public java.lang.String getServiceName()
String) value.public TransportService getTransport()
TransportService) value.setTransport(TransportService)public TransportTestService getTransportTest()
TransportService) value.createTransportTest(Dictionary,TransportService),
setTransportTest(TransportTestService)protected void handleAcquiredImportedService(java.lang.Object service)
service - The service (Object) parameter.protected void handleReleasedImportedService(java.lang.Object service)
service - The service (Object) parameter.public boolean isFactoryConnection(java.util.Dictionary properties)
properties - The properties (Dictionary) parameter.
boolean)
value.isFactoryConnection(),
setFactoryConnection(boolean)public boolean isFactoryConnection()
boolean) value.isFactoryConnection(Dictionary),
setFactoryConnection(boolean)
public void log(int severity,
java.lang.String message)
severity - The severity (int) parameter.message - The message (String) parameter.log(int,String,Throwable)
public void log(int severity,
java.lang.String message,
java.lang.Throwable exception)
severity - The severity (int) parameter.message - The message (String) parameter.exception - The exception (Throwable) parameter.log(int,String)protected boolean requiresAllImportedServices()
boolean)
value.public void setFactoryConnection(boolean factoryConnection)
factoryConnection - The factory connection (boolean) parameter.isFactoryConnection(Dictionary),
isFactoryConnection()public void setManagedProperties(java.util.Dictionary managedProperties)
Dictionary)
parameter.
managedProperties - The managed properties (Dictionary) parameter.createManagedProperties(),
getManagedProperties()public void setTransport(TransportService transport)
transport - The transport (TransportService) parameter.getTransport()public void setTransportTest(TransportTestService transportTest)
transportTest - The transport test (TransportTestService) parameter.createTransportTest(Dictionary,TransportService),
getTransportTest()
public void updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
table - The table (Dictionary) parameter.from - The from (Dictionary) parameter.createManagedProperties(),
createProperties(),
getManagedProperties(),
setManagedProperties(Dictionary)
public void updated(java.util.Dictionary properties)
throws org.osgi.service.cm.ConfigurationException
Dictionary) parameter.
Configuration Exception.
updated in interface org.osgi.service.cm.ManagedServiceproperties - The properties (Dictionary) parameter.
org.osgi.service.cm.ConfigurationException - Configuration Exception.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||