On Sat, 9 Feb 2002 20:10, Adam Murdoch wrote:
> > I still don't understand the motivation for this. Instead of
> > MyRole lets say
> >
> > interface Condition extends DataType {}
> >
> > add( Condition c );
> >
> > Why would you want to look up an arbitrary DataType? Wouldn't it
> > be best to
> > just look up types that implement Condition?
>
> Absolutely.  The trick is to come up with a type definition system that
> lets you figure out which types implement the role interface, while also
> making those same types available via <property> or TypeInstanceTask.

Okay 

> Any thoughts on a better solution?

Whats wrong with automagically generating this via xdoclet or something 
similar to what it is doing now? Thus any class that implements DataType 
directly or indirectly must have a 

@ant:data name="foo"

if it wants to be exposed in property or via TypeInstanceTask?

-- 
Cheers,

Pete

------------------------------------------------------------
 militant agnostic: i don't know, and you don't know either.
------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to