|
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.profile.bundle.ProfileBundle
public abstract class ProfileBundle
The ProfileBundle is the base bundle activator for all profile bundle activators.
| Field Summary | |
|---|---|
static java.lang.String[] |
OPTIONAL_SERVICES
Define the optional services (String[]) constant. |
| Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
NO_SERVICES |
| Constructor Summary | |
|---|---|
ProfileBundle()
|
|
| Method Summary | |
|---|---|
void |
activate()
Create service and return the Object result. |
java.util.Hashtable |
createProperties()
Create the properties. |
abstract ProfileService |
createService(DeviceService device)
|
protected void |
deactivate()
Deactivate. |
DeviceService |
getDevice()
Get the DeviceService to be used by the profile. |
abstract java.lang.String[] |
getExportedServiceNames()
Gets the exported service names (String[]) value. |
java.lang.String |
getInterestServiceName()
Gets the interest service name (String) value. |
protected java.lang.String[] |
getOptionalImportedServiceNames()
Gets the optional imported service names (String[]) value. |
ProfileService |
getProfile()
Return the profile. |
protected void |
handleAcquiredOptionalImportedService(java.lang.String serviceName,
java.lang.Object service)
|
protected void |
handleReleasedOptionalImportedService(java.lang.String serviceName,
java.lang.Object service)
|
void |
log(int severity,
java.lang.String message)
|
void |
log(int severity,
java.lang.String message,
java.lang.Throwable exception)
|
void |
setDevice(DeviceService device)
|
void |
setProfile(ProfileService profile)
|
| 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, 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.framework.BundleActivator |
|---|
start, stop |
| Field Detail |
|---|
public static final java.lang.String[] OPTIONAL_SERVICES
| Constructor Detail |
|---|
public ProfileBundle()
| Method Detail |
|---|
public void activate()
activate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic java.util.Hashtable createProperties()
Hashtable)
value.public abstract ProfileService createService(DeviceService device)
device - The device (DeviceService) parameter.
Object) value.
The device (DeviceService) parameter.handleAcquiredOptionalImportedService(String,Object),
handleReleasedOptionalImportedService(String,Object)protected void deactivate()
deactivate in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorpublic DeviceService getDevice()
DeviceService) value.setDevice(DeviceService)public abstract java.lang.String[] getExportedServiceNames()
String[]) value.public java.lang.String getInterestServiceName()
String) value.protected java.lang.String[] getOptionalImportedServiceNames()
getOptionalImportedServiceNames in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorString[])
value.public ProfileService getProfile()
ProfileService)
value.setProfile(ProfileService)
protected void handleAcquiredOptionalImportedService(java.lang.String serviceName,
java.lang.Object service)
handleAcquiredOptionalImportedService in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorserviceName - The service name (String) parameter.service - The service (Object) parameter.
protected void handleReleasedOptionalImportedService(java.lang.String serviceName,
java.lang.Object service)
handleReleasedOptionalImportedService in class org.eclipse.soda.sat.core.framework.BaseBundleActivatorserviceName - The service name (String) parameter.service - The service (Object) parameter.
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 setDevice(DeviceService device)
device - The device (DeviceService) parameter.getDevice()public void setProfile(ProfileService profile)
profile - The profile (ProfileService) parameter.getProfile()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||