Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 7219 invoked from network); 22 Dec 2006 16:17:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2006 16:17:59 -0000 Received: (qmail 65139 invoked by uid 500); 22 Dec 2006 16:18:05 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 65125 invoked by uid 500); 22 Dec 2006 16:18:05 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Delivered-To: moderator for dev@beehive.apache.org Received: (qmail 68870 invoked by uid 99); 22 Dec 2006 13:30:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <8162587.1166794221836.JavaMail.jira@brutus> Date: Fri, 22 Dec 2006 05:30:21 -0800 (PST) From: =?utf-8?Q?Niels_Ull_Harremo=C3=ABs_=28JIRA=29?= To: dev@beehive.apache.org Subject: [jira] Commented: (BEEHIVE-809) Service Control Should Cache the Object model MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/BEEHIVE-809?page=3Dcomments#acti= on_12460465 ]=20 =20 Niels Ull Harremo=C3=ABs commented on BEEHIVE-809: --------------------------------------------- I think you should store a soft reference to the WSDL instead, so that this= cache will not leak memory. > Service Control Should Cache the Object model > --------------------------------------------- > > Key: BEEHIVE-809 > URL: http://issues.apache.org/jira/browse/BEEHIVE-809 > Project: Beehive > Issue Type: Improvement > Components: System Controls > Reporter: daryoush mehrtash > Assigned To: Chad Schoettger > Attachments: serviceCachePatch.txt > > > For every instance of the Service control the method initialize() is ca= lled to set up the instance. The set up requires parsing the WSDL to genera= te the Object model. The resulting model should be cached in Static map so= that the wsdl is only parsed once and reused by each instance. (each isnt= ance of the service control only reads the OM, and never modifies it.) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira