The Open Anzo Project

Semantic Application Middleware

Ticket #176 (closed enhancement: fixed)

Opened 1 year ago

Last modified 9 months ago

Enhance Service Templates For Easier Extensibility

Reported by: mroy Assigned to: mroy
Priority: minor Milestone: 3.0 milestone1
Component: openanzo Version: 3.0
Keywords: template services Cc:

Description

In order to use the service templates for more than just the core Anzo services, we need to tweak the templates to allow slightly easier extensibility. This first enhancement will be to introduce the notion of parameter type serializers/deserializers, which are static classes that have a set of serialize and deserialize methods that the template calls. Since the methods in these classes will be static, there is no concrete interface that they can implement, so it is up to the implementor to create the correct signatures. The ontology will use a serializer property to define the class name to use within the generated code.

Change History

12/28/07 14:23:56 changed by mroy

(In [1176]) re #176
Cleanup templates
Add 2 new properties to the ontology, serializer and propertyLocation.
Serializer defines class that implements set of serialize and deserialize static methods.
Property location says if parameter is a property, body of message, part of core transport message, or a callback parameter that isn't included in the message.
Added serializer classes for all the existing parameter types.

12/28/07 14:24:14 changed by mroy

(In [1177]) re #176
Cleanup templates
Add 2 new properties to the ontology, serializer and propertyLocation.
Serializer defines class that implements set of serialize and deserialize static methods.
Property location says if parameter is a property, body of message, part of core transport message, or a callback parameter that isn't included in the message.
Added serializer classes for all the existing parameter types.

03/31/08 10:18:45 changed by mroy

  • status changed from new to closed.
  • resolution set to fixed.
Copyright © 2007 - 2008 OpenAnzo.org