|
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.connection.bundle.ServiceBundle
public abstract class ServiceBundle
The ServiceBundle extends the OAF BaseBundleActivator to create an object and register OSGi service(s).
| Field Summary | |
|---|---|
static java.lang.String |
DEVICE_CLASS
Define the device class (String) constant. |
static java.lang.String |
DEVICE_REVISION
Define the device revision (String) constant. |
| Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
NO_SERVICES |
| Constructor Summary | |
|---|---|
ServiceBundle()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Create exported services. |
java.util.Hashtable |
createProperties()
Create the properties. |
java.lang.Object |
createService()
Create the service. |
protected void |
destroyExportedServices()
Destroy exported services. |
abstract java.lang.String[] |
getExportedServiceNames()
Gets the service names (String[]) value. |
java.lang.Object |
getService()
Gets the service (Object) value. |
void |
log(int severity,
java.lang.String message)
|
void |
log(int severity,
java.lang.String message,
java.lang.Throwable exception)
|
void |
setService(java.lang.Object service)
|
| Methods inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
acquireImportedService, acquireImportedServices, acquireOptionalImportedServices, addExportedProxyService, addExportedProxyServices, addExportedService, addExportedServices, addImportedServiceFilter, addOptionalImportedServiceFilter, basicGetImportedServiceNames, basicGetOptionalImportedServiceNames, collectImportedServiceNames, collectOptionalImportedServiceNames, deactivate, 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 |
| Field Detail |
|---|
public static final java.lang.String DEVICE_REVISION
public static final java.lang.String DEVICE_CLASS
| Constructor Detail |
|---|
public ServiceBundle()
| Method Detail |
|---|
protected void activate()
activate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic java.util.Hashtable createProperties()
Hashtable)
value.public java.lang.Object createService()
Object) value.getService(),
setService(Object)protected void destroyExportedServices()
public abstract java.lang.String[] getExportedServiceNames()
String[]) value.public java.lang.Object getService()
Object) value.createService(),
setService(Object)
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)public void setService(java.lang.Object service)
service - The service (Object) parameter.createService(),
getService()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||