On Sep 13, 2004, at 11:25 AM, Bruce Snyder wrote:

This one time, at band camp, Dain Sundstrom said:

DS>On Sep 13, 2004, at 11:03 AM, Bruce Snyder wrote:
DS>
DS>> This one time, at band camp, Dain Sundstrom said:
DS>>
DS>> DS>On Sep 13, 2004, at 9:11 AM, Bruce Snyder wrote:
DS>> DS>
DS>> DS>> The Geronimo builders are creating all the configuration objects.
DS>> DS>> Are these the objects that are serialized out into the config.ser
DS>> DS>> file?
DS>> DS>
DS>> DS>Yes, but there is only one Configuration object created, and it is
DS>> that
DS>> DS>object that is serialized.
DS>>
DS>> I thought that the serialized configs contained an arbitrary graph
DS>> of objects and that was why building a viewer was a big PITA? Am I
DS>> mixing up two different things here?
DS>
DS>It does. This is a single Configuration containing N GBeans with N
DS>attributes.


Then it sounds like it is still possible to build a viewer. From a
single Configuration object, I'm guessing it's a collection of N
GBeans. If so, it shouldn't be too difficult to walk the collection
and ask for the constructor, methods, etc.

Sort of.... the attributes can be objects and these objects can hold references to the values stored in other attributes (e.g., you get an arbitrarily complex object graph).


-dain



Reply via email to