Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 50096 invoked from network); 4 Feb 2008 22:17:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 22:17:17 -0000 Received: (qmail 84186 invoked by uid 500); 4 Feb 2008 22:17:08 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 83678 invoked by uid 500); 4 Feb 2008 22:17:06 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list general@ws.apache.org Received: (qmail 83667 invoked by uid 99); 4 Feb 2008 22:17:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 14:17:06 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 22:16:46 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id B212AD2D5 for ; Mon, 4 Feb 2008 22:16:53 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: general@ws.apache.org Date: Mon, 04 Feb 2008 22:16:53 -0000 Message-ID: <20080204221653.25458.1772@eos.apache.org> Subject: [Ws Wiki] Update of "FrontPage/Woden/WSDLExtensionChanges" by JohnKaputin X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by JohnKaputin: http://wiki.apache.org/ws/FrontPage/Woden/WSDLExtensionChanges The comment on the change is: added Solution Summary ------------------------------------------------------------------------------ The only way that Woden's client applications can access extension properties is via these statically-defined, compile-time extension property APIs declared by the {{{ComponentExtensions}}} subtypes. Some applications need a more flexible approach that provides a more ''generic'' API for accessing extension properties, without requiring detailed knowledge of each {{{ComponentExtensions}}} subtype API. For example, WSDL editors or GUI tools should be able to display any WSDL, including it's extensions, without predefined knowledge of all possible extension-types and their specific APIs. They need to be able to retrieve these properties as ''generic'' extension properties, via a common programming model. === Summary of the Solution === + A new type {{{ExtensionProperty}}} has been introduced which provides a generic representation of an extension property (name, namespace and content as a java.lang.Object). {{{ExtensionProperty}}} accessor methods have been declared in a new type {{{PropertyExtensible}}}, for retrieving extension properties. {{{WSDLComponent}}} now extends {{{PropertyExtensible}}}. + The {{{ComponentExtensions}}} interface has been renamed to {{{ComponentExtensionContext}}} to better reflect its role as an ''accessor'' for retrieving extensions in a particular context (that is, for a component and an extension namespace) and to avoid giving the impression that it ''is'' the collection of extension properties for that component and namespace. Furthermore, to avoid API confusion with new {{{PropertyExtensible}}} methods like {{{getExtensionProperties}}}, the {{{WSDLComponent}}} method {{{getComponentExtensionsForNamespace(NSuri)}}} has been renamed to {{{getComponentExtensionContext(NSuri)}}} (and that now returns a {{{ComponentExtensionContext}}}). + + The {{{ExtensionRegistry}}} methods that handled the {{{ComponentExtensions}}} type have been changed to use {{{ComponentExtensionContext}}} instead. These are the {{{registerComponentExtension}}} and {{{createComponentExtension}}} methods. + - == Overview of the new Component extensions model === + === Overview of the new Component extensions model === The following UML class diagram and the notes that follow it provide an overview of the new Component extensions model: http://people.apache.org/~jkaputin/woden47/Extensions1.jpg --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@ws.apache.org For additional commands, e-mail: general-help@ws.apache.org