ok, so what happens if I introduce a new bean to the samples, one that is
complete with interfaces, and just needs the deployment descriptor?  So I
have some beans that I want everything for, and this one bean that I only
want the dd for.  I have entitycmp and session subtasks defined, so
the (cmp/bmp/session?) logic isn't going to be available.  this is the gap
I saw generate="dd" filling... does that make sense?

sorry to say, but I'm going to be signing off now... will try and get some
time in tomorrow, let me know what you think.  I've attached a zip of the
changes I was talking about in my email last night, as I'm signing off
now, they might convey a little more of what I had seen.  The
ForeignCurrenyBean is the new bean complete with interfaces, and the
subtasks have been changed to check for generate="dd".

cheers
dim

On Fri, 2 Nov 2001, Ara Abrahamian wrote:

> > > It's different stories:
> > > - support abstract base beans
> > > - support optional subtasks
> > >
> > > For the first one isAConcre... does the trick, for the second:
> > > - if cmp/bmp/session is on and it's a concrete bean -> generate
> > > cmp/bmp/session subclasses
> > > - if cmp/bmp/session is off and it's a concrete bean -> don't
> generate
> > > cmp/bmp/session subclasses
> > > - if cmp/bmp/session is on and it's not a concrete bean -> don't
> > > generate cmp/bmp/session subclasses
> > > - if cmp/bmp/session is off and it's not a concrete bean -> Nothing
> to
> > > do!
> > 
> > ok - I'm getting there... thanks for going through the logic (o:  the
> only
> > thing I'm not sure of now, is what you mean by "if cmp/bmp/session" is
> > on/off.  I assume you mean either "implements", or some parameter to
> > ejb:bean, although the only param I can think of is generate, which is
> > what I thought you were trying to avoid...
> 
> Oops, I meant "if cmp/bmp/session subtask is on", or in other words you
> put a <entitycmp/>/etc in your <ejbdoclet/>. I think we need a
> isSubTaskDefined( String name) in DocletContext.
> 
> Aea.
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 

xdoclet.zip

Reply via email to