Eike Stepper wrote:
hi,
i'd like to bring that topic back to your attention:
am i really forced to carry a resolved proxy of a transient component as long as i want the component be prevented from disposal?
Lets get back to an underlying question. The transient lifestyle is intended for create-use-forget style components - however - everything seems to indicate that your using transients in order to achieve some specific objective. Can you fill me in?
Steve.
now i have come several times to a point where i register a component with a registry so that is strongly reachable. sometimes it's quite natural to do this from inside the component to be registered. but when i use the this-pointer for registration it is not considered to be a strong ref to the original proxy, which in turn will order component disposal. the actual time of disposal may be very late and has no obvious relation with the assignment of the this-pointer or removal of the original stack frame. this kind of error is hard to discover.
is there anything i can do against it?
/eike
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|---------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org | |---------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
