That's not exposed in the current version.
container.Kernel.ReleasePolicy keeps track of alive objects.
You will have to grab access to its field via reflection I'm afraid.
This is changed in the trunk, where listing tracked objects are added to
be a standard container diagnostic
HTH,
Krzysztof
On 22/01/2011 1:56 AM, Dru Sellers wrote:
I think I have shot my self in the foot, and I am not calling
'release' on a component in my code someplace.
where can I query in the object model to see if I have a growing
number of components?
-d
--
You received this message because you are subscribed to the Google
Groups "Castle Project Users" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Castle
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.