Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 34625 invoked from network); 27 Dec 2006 16:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2006 16:56:21 -0000 Received: (qmail 70044 invoked by uid 500); 27 Dec 2006 16:56:28 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 69870 invoked by uid 500); 27 Dec 2006 16:56:27 -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 42946 invoked by uid 99); 27 Dec 2006 06:00:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <24748769.1167199222125.JavaMail.jira@brutus> Date: Tue, 26 Dec 2006 22:00:22 -0800 (PST) From: "Drew Varner (JIRA)" To: dev@beehive.apache.org Subject: [jira] Updated: (BEEHIVE-809) Service Control Should Cache the Object model MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/BEEHIVE-809?page=all ] Drew Varner updated BEEHIVE-809: -------------------------------- Attachment: serviceControlDiff.txt Better patch for caching parsed WSDL object model in the Service Control. This version uses a synchonized WeakHashMap to cache the object models. It also adds a public method to clear the parsed-WSDL cache. This patch passes systemcontrols.drt > 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, serviceControlDiff.txt > > > For every instance of the Service control the method initialize() is called to set up the instance. The set up requires parsing the WSDL to generate 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 isntance of the service control only reads the OM, and never modifies it.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira