You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Drew Varner (JIRA)" <ji...@apache.org> on 2006/12/21 09:06:21 UTC

[jira] Updated: (BEEHIVE-809) Service Control Should Cache the Object model

     [ 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