On Dec 13, 2007 12:56 AM, Dain Sundstrom <[EMAIL PROTECTED]> wrote:

> Typically, I make the legacy "extra" elements private fields in the
> jaxb tree, then when calls the getter for the new element, I convert
> the old element to the new element.  For example see:
>
> https://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/
> openejb-jee/src/main/java/org/apache/openejb/jee/PortComponent.java
>
> The handlerChains element is the new element and the handlerChain
> element is a legacy element.  When someone gets the HandlerChains we
> detect if the old handlerChain element was used and covert it to a
> handlerChains.

It's fixed now. Thanks Dain for your invaluable comment. It helped a lot.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to