|
Okay, so it is possible to have the generated local
interface extend multiple interfaces, like so: * @ejb.interface *
local-extends="com.portblue.model.util.UniquelyIdentifiable,
javax.ejb.EJBLocalObject" But I’m not sure if this qualifies as a hack. I was expecting something more along the lines of: * @ejb.interface *
local-extends="com.portblue.model.util.UniquelyIdentifiable" *
local-extends="javax.ejb.EJBLocalObject" Employing that syntax results in the generated interface
only extending the last setting, in this case javax.ejb.EJBLocalObject. The documentations states: “local-extends: Declare which interface the generated local
interface should extend. Default is "javax.ejb.EJBLocalObject". This language implies that you can only
specify a single interface to extend employing this tag. Anyway, my questions are: 1.
Is
there an officially approved methodology for having the generated interface
extend multiple other interfaces? 2.
Is this
a documentation bug, where what I ended up doing (comma delimited list of
interfaces to extend) is really an accepted alternative? Basically, I don’t want to put in
what I consider to be a potential hack only to have it “fixed” with
a newer release of xdoclet. Thanks, Ari |
- Re: [Xdoclet-user] @ejb.interface local-extends inabili... Ari Miller
- Re: [Xdoclet-user] @ejb.interface local-extends in... Damjan S. Vujnovic
- Re: [Xdoclet-user] @ejb.interface local-extends in... Ari Miller
