Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 40144 invoked from network); 3 May 2005 04:44:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2005 04:44:20 -0000 Received: (qmail 60351 invoked by uid 500); 3 May 2005 04:45:24 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 60316 invoked by uid 500); 3 May 2005 04:45:23 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 60286 invoked by uid 99); 3 May 2005 04:45:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.opensource.lk (HELO squid.cmb.ac.lk) (202.51.147.3) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 02 May 2005 21:45:22 -0700 Received: from ExtremeM (190.246.adsl.sltnet.lk [220.247.246.190] (may be forged)) by squid.cmb.ac.lk (8.12.9/8.12.9) with ESMTP id j434oaE5050699; Tue, 3 May 2005 10:50:52 +0600 (LKT) (envelope-from chinthaka@opensource.lk) Message-Id: <200505030450.j434oaE5050699@squid.cmb.ac.lk> Reply-To: From: "Eran Chinthaka" To: , "'Srinath Perera'" Subject: RE: [Axis2] New Factories Date: Tue, 3 May 2005 10:42:21 +0600 Organization: Lanka Software Foundation MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcVM01SIUk/Knc3rRqaNm3kTcld/vQCxnRGA X-Virus-Scanned: by amavisd-new X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N No it's a concrete class with static methods. Have u ever named, a java abstract class with the "Abstract" part in it. I hope not. I used "XXXAbstractFactory" as it was the name of the pattern ;). -- Chinthaka > -----Original Message----- > From: Srinath Perera [mailto:hemapani@gmail.com] > Sent: Friday, April 29, 2005 9:44 PM > To: axis-dev@ws.apache.org > Subject: Re: [Axis2] New Factories > > Sound good to me ..:). One concern, does the XXAbstractXX is not a > java abstract class? > Thanks > Srinath > > On 4/29/05, Eran Chinthaka wrote: > > Hi all,, > > > > I'm implementing/completing SOAP 1.1 and 1.2 on OM. > > > > It seemed to me that OMFactory alone is not enough and some of the > methods > > inside that, actually doesn't belong there. > > > > So I came up with following structure. > > > > OMFactory > > | > > | > > | > > SOAPFactory > > | > > | > > ____________|__________________ > > | | > > SOAP11Factory SOAP12Factory > > > > Since you have multiple factories, I introduced a new OMAbstractFactory > so > > that you can call OMAbstractFactory.getSOAP11Factory() or > > OMAbstractFactory.getOMFactory(), etc., This is same as > > OMfactory.newInstance(), so nothing to worry. > > > > OMFactory, SOAPFactory, SOAP11Factory and SOAP12Factory are all > interfaces > > (earlier OMFactory was an abstract class, as it contained the > newInstance > > method.) > > > > So now OMFactory contains, *only* OM methods. So Jaya and Ashu better > work > > with that for full api implementations. > > But for Axis, better use SOAP11Factory or SOAP12Factory. Both have the > same > > SOAP 1.2 api, but the implementations will differ depending on the > > specifications. > > > > I have still left to implement, SOAP12Factory and SOAP11Factory, plus > SOAP > > 1.2 methods. But all the SOAP specific codes which *were* in OMFactory > are > > now in SOAPFactory, so you can work as usual. > > > > Thanks and Regards, > > Eran Chinthaka > > > > >