[ 
http://issues.apache.org/jira/browse/BEEHIVE-809?page=comments#action_12460465 
] 
            
Niels Ull Harremoës 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 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


Reply via email to