axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Susantha Kumara" <>
Subject RE: memory clean up
Date Wed, 28 Jul 2004 11:28:43 GMT
>  For XML element and attribute objects that are created by
> IHandlerSoapSerializer, HeaderBlock and Attribute, who is responsible
> deleting the objects when the request or response is processed?  When
> memory purging happen?
The rules in this regard are as follows,

1. Any outbound objects created either by the client application or a
handlers should be managed by the creator itself. The Axis engine donot
delete any objects (HeaderBlocks, Attributes, BasicNodes etc). 2. Any
inbound objects that are created by Axis Engine as a result of
deserialization should be deallocated by a target handler. Axis Engine
deallocates only the headerblocks that will remain in the deserializer
(headerblocks with no target handler).


View raw message