The Open Anzo Project

Semantic Application Middleware

Ticket #434 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Implement Semantic Service Execution atop OSGi framework

Reported by: ben Assigned to: mroy
Priority: major Milestone: 3.0 milestone2
Component: openanzo Version: 3.0
Keywords: Cc:

Description

- SemanticExecutionService/SemanticServiceActivator?

  • register a tracker for ISemanticServiceExecutor

  • register the service with the bundle context

  • maintain a mapping from serviceTypeUri to executor

  • retrieve serviceTypeUri from the executor

  • maintain a mapping from serviceUri to serviceTypeUri/executor

  • when our executor tracker fires, we set ourselves on the executor as the host it the executor will tell us of its services so far.

  • get the serviceTypeUri from the executor instance

  • find all services of that type in the registry

  • check(*), via abstract method, if the service is ready to execute (the Java bundle might not be ready for example)

  • if it isn't do nothing

  • if it is, then we create a ServiceInfo? object in the table, keyed by serviceUri, pointing to the executor

  • register a listener on the registery for new services of the proper type

  • perform same check(*) as above.

  • whenever a new services is available, we register it via its type and uri with the host (semantic service execution service)

  • maintian a mapping from PID to implementation factory

  • register a tracker for ISemanticServiceFactory instances.

  • when one arrives, check the registry for a java service with the right PID

  • if we have to create the service, instantiate it with the config graph from the registry, and store it in a map from serviceUri to ISemanticService

  • base class for all java service bundle activators.

Change History

07/28/08 17:45:48 changed by ben

(In [2833]) re #434 add java execution project

07/28/08 18:18:52 changed by ben

(In [2834]) implementation complete, but not yet wokring. re #434

08/02/08 10:20:14 changed by ben

(In [2871]) Fixed an anzo client bug re #434

08/02/08 10:23:29 changed by ben

(In [2872]) Fixed an anzo client bug re #434

08/05/08 13:21:14 changed by ben

(In [2884]) partial implementation re #434

08/06/08 16:13:19 changed by ben

(In [2895]) partial implementation re #434

08/06/08 18:17:05 changed by ben

(In [2900]) Fixed some graph table issues re #434

08/07/08 02:26:38 changed by ben

(In [2901]) long running services almost working re #434

08/07/08 13:32:39 changed by ben

(In [2903]) long running services work re #434

08/12/08 17:21:45 changed by ben

(In [2929]) re #434 add javascript execution project

08/12/08 17:29:21 changed by ben

(In [2930]) Javascript execution complete re #434

08/14/08 12:49:00 changed by ben

  • owner changed from ben to mroy.

Basic implementation complete...additional changes and features will require other tickets.

08/18/08 09:31:31 changed by ben

(In [2970]) long running services work re #434

08/20/08 19:15:53 changed by ben

(In [2987]) long running services work re #434

08/20/08 19:16:33 changed by ben

(In [2988]) long running services work re #434

08/25/08 09:32:22 changed by mroy

  • status changed from new to closed.
  • resolution set to fixed.

Looks good.

Copyright © 2007 - 2008 OpenAnzo.org