|
2008-07-29 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.ManagedServiceBundleActivator
org.eclipse.soda.dk.core.managed.CoreManaged
org.eclipse.soda.dk.agent.managed.AgentManaged
public abstract class AgentManaged
| Field Summary | |
|---|---|
static java.lang.String[] |
OPTIONAL_SERVICE
Define the optional service (String[]) constant. |
static java.lang.String[] |
OPTIONAL_SERVICES
Define the optional services (String[]) constant. |
| Fields inherited from class org.eclipse.soda.dk.core.managed.CoreManaged |
|---|
CONFIGURATION_ADMIN_SERVICE, ID_KEY, ID_KEY_FILTER, IMPORTED_SERVICES, METATYPE_SERVICE |
| Fields inherited from class org.eclipse.soda.sat.core.framework.ManagedServiceBundleActivator |
|---|
CONFIGURATION_ADMIN_SERVICE_NAME, MANAGED_SERVICE_SERVICE_NAME |
| Fields inherited from class org.eclipse.soda.sat.core.framework.BaseBundleActivator |
|---|
NO_SERVICES |
| Constructor Summary | |
|---|---|
AgentManaged()
|
|
| 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. |
AgentService |
createService(DeviceService device)
|
AgentService |
createService(org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Create service with the specified manager parameter and return the AgentService result. |
void |
destroy(java.lang.String pid,
java.lang.Object object,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
|
java.lang.String |
getDeviceServiceName()
Method getDeviceServiceName. |
java.lang.String |
getInterestServiceName()
Gets the interest service name (String) value. |
protected java.lang.String[] |
getOptionalImportedServiceNames()
Gets the optional imported service names (String[]) value. |
java.lang.String[] |
getOptionalImportedServiceNames(java.lang.String pid,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg3)
|
java.lang.String |
getServiceName()
Return the service name. |
java.lang.String[] |
getServiceNames()
Gets the service names (String[]) value. |
void |
handleAcquiredOptionalImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.String importedServiceName,
java.lang.Object importedService,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
|
void |
handleReleasedOptionalImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.String importedServiceName,
java.lang.Object importedService,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
|
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)
|
| Methods inherited from class org.eclipse.soda.dk.core.managed.CoreManaged |
|---|
createAdvisor, createImportedServiceFilters, createProperties, getExportedServiceNames, getImportedServiceNames, getImportedServiceNames, handleAcquiredOptionalImportedService, handleReleasedOptionalImportedService, updateProperties, updateProperties, validateConfiguration |
| Methods inherited from class org.eclipse.soda.sat.core.framework.ManagedServiceBundleActivator |
|---|
activate, collectImportedServiceNames, createDefaultPid, createPid, deactivate, 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, getBundleActivationManager, 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, 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.ManagedService |
|---|
updated |
| Methods inherited from interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisor |
|---|
createImportedServiceFilters, getImportedServiceNames, validateConfiguration |
| Field Detail |
|---|
public static final java.lang.String[] OPTIONAL_SERVICE
public static final java.lang.String[] OPTIONAL_SERVICES
| Constructor Detail |
|---|
public AgentManaged()
| 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.
create in interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisorpid - The pid (String) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
Object) value.public AgentService createService(DeviceService device)
device - The device (DeviceService) parameter.
Object) value.createService(IBundleActivationManager),
handleAcquiredOptionalImportedService(String,Object,String,Object,IBundleActivationManager),
handleReleasedOptionalImportedService(String,Object,String,Object,IBundleActivationManager)public AgentService createService(org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
manager - The manager (IBundleActivationManager) parameter.
AgentService) value.createService(DeviceService),
handleAcquiredOptionalImportedService(String,Object,String,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)
destroy in interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisorpid - The pid (String) parameter.object - The object (Object) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.public java.lang.String getDeviceServiceName()
String) value.public java.lang.String getInterestServiceName()
getInterestServiceName in class org.eclipse.soda.dk.core.managed.CoreManagedString) value.protected java.lang.String[] getOptionalImportedServiceNames()
getOptionalImportedServiceNames in class org.eclipse.soda.dk.core.managed.CoreManagedString[]) value.getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)
public java.lang.String[] getOptionalImportedServiceNames(java.lang.String pid,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager arg3)
getOptionalImportedServiceNames in interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisorgetOptionalImportedServiceNames in class org.eclipse.soda.dk.core.managed.CoreManagedpid - The pid (String) parameter.arg1 - The arg1 (Dictionary) parameter.arg2 - The arg2 (Dictionary) parameter.arg3 - The arg3 (IBundleActivationManager) parameter.
String[]) value.getOptionalImportedServiceNames()public java.lang.String getServiceName()
String) value.getDeviceServiceName(),
getInterestServiceName()public java.lang.String[] getServiceNames()
String[]) value.getOptionalImportedServiceNames(),
getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)
public void handleAcquiredOptionalImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.String importedServiceName,
java.lang.Object importedService,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
handleAcquiredOptionalImportedService in interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisorhandleAcquiredOptionalImportedService in class org.eclipse.soda.dk.core.managed.CoreManagedpid - The pid (String) parameter.object - The object (Object) parameter.importedServiceName - The imported service name (String) parameter.importedService - The imported service (Object) parameter.manager - The manager (IBundleActivationManager) parameter.
public void handleReleasedOptionalImportedService(java.lang.String pid,
java.lang.Object object,
java.lang.String importedServiceName,
java.lang.Object importedService,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
handleReleasedOptionalImportedService in interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisorhandleReleasedOptionalImportedService in class org.eclipse.soda.dk.core.managed.CoreManagedpid - The pid (String) parameter.object - The object (Object) parameter.importedServiceName - The imported service name (String) parameter.importedService - The imported service (Object) parameter.manager - The manager (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)
update in interface org.eclipse.soda.sat.core.framework.interfaces.IManagedServiceAdvisorpid - 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.
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||