Re: [wsia][wsrp-interfaces] Specific or general destroy mechanism(s)

From
Rex Brooks <>
Date
2002-07-22T14:41:43+00:00
ID
a05100301b961c9dfcbb3@[192.168.123.136]
Thread
Re: [wsia][wsrp-interfaces] Specific or general destroy mechanism(s)
I prefer the generic for v.1.

Rex

At 10:13 AM -0400 7/22/02, Rich Thompson wrote:
>The current draft spec has a generic release mechanism (releaseHandles()).
>At times more specific mechanisms have been mentioned (deregisterConsumer()
>& destroyEntities()).
>Advantages/disadvantages I see for the generic mechanism are:
>
>Advantages:
>   - Single operation in the interface
>   - Extensible ... can easily deal with new handle types as they are added
>to the spec.
>   -
>Disadvantages:
>   - Implies an inheritance relationship between handles. This isn't bad,
>but isn't required for specific mechanisms.
>   - Type checking moved to the application level (this depends on how we
>specify the serialization of the handles).
>   - Harder to explain as the operation is more abstract and therefore
>dependent on what is concretely passed.
>   -
>
>Comments / thoughts / preferences?
>
>
>
>----------------------------------------------------------------
>To subscribe or unsubscribe from this elist use the subscription
>manager: <http://lists.oasis-open.org/ob/adm.pl>


-- 
Rex Brooks
Starbourne Communications Design
1361-A Addison, Berkeley, CA 94702 *510-849-2309
http://www.starbourne.com *