Thanks
When can I use it?
Stuart D Davies
BT Exact
Phone +44 117 3024552
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: 23 March 2005 16:06
To: users_at_jaxb.dev.java.net
Subject: Re: JAXB Life Cycle Events for Sub classes of impl classes
> My second solution was to (in addition to my first solution)
derive A
> from X and Y when all values of MySubClass have been set. Conceptually
> at the endElement event.
> The problem is that there do not appear to be any life cycle
events
> exposed that I can trap. There is no startedUnMarshal, endedUnmarshal
> etc.
In JAXB RI 2.0, we have an interface (I think it's called
ObjectLifecycle) that you can implement to perform some post action
after an object is completely unmarshalled.
--
Kohsuke
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net