beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Varner (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BEEHIVE-809) Service Control Should Cache the Object model
Date Thu, 21 Dec 2006 08:06:21 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-809?page=all ]

Drew Varner updated BEEHIVE-809:
--------------------------------

    Attachment: serviceCachePatch.txt

Added a static ConcurrentHashMap to ServiceControlImpl.java to cache the parsed WSDL (object
model) declared in the WSDL annotation on the Service Control. The control checks to see if
the object model is in the cache when it is acquired. If it is, it uses the cached version.
If it is not, it parses the WSDL and places the object model in cache. Object models are _never_
removed from the cache.

systemcontrols.drt passed

> 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 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

        

Mime
View raw message