Howdy yall,

I have a base class, EntityBase which is the base of all my entity EJBs

It defines the create, and common persistent fields (pk) fields for all sub-beans. 

This all works fine.  The one thing I can't figure out, is how to define
some class tags in the base, and merge them with the subclass class
tags.

ie:

/**
 * @ejb:bean  type="CMP"
 *            cmp-version="2.x"
 *            view-type="local"
 *            primkey-field="iD"
 */
public abstract class EntityBase {
}


/**
 * @ejb:bean name="MyRealEJB"
 */
public abstract class MyRealBean extends EntityBase {
}


So all I have to do is add that one tag to each EJB.

Is this possible currently?

It seems that if specified as above, the subclass' ejb:bean tag replaces
the parents tag.  So I assume that it isn't merging right now.  

If that's the case, anyone mind if I add that?  Or is it on purpose? (to
allow subclasses to override base class tags, dropping off extra
options)

-David


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to