Dino Fancellu wrote:
> 
> > you can use
> > <mailet name=RemoteDelivery class=RemoteDelivery>
> >   ...
> > </mailet>
> >
> > this is no problem but the point of using name is:
> > 1 take mailet configurations out of the sitemap
> > 2 allow a single instance of a mailet to appear in two pr more
> >   places in the sitemap
> >
> > So you have to name a class even if it is the only instance of that
> > class...
> >
> > Fede
> 
> I know, that seems cumbersome.
> 
> I should be able to have config in the sitemap if I want it, or elsewhere.
> Don't force us to choose.
> 
> If I make a ref to an unknown instance it should just try to create an
> instance of that class.

This looks to me like "flexibility syndrom"... 
forcing only references instead of instances is a way to keep confs
ordered and avoid to have configs in two different palces which may mess
things up. 

What is the purpose of doing things in two ways is one is enought? Just
confusion.

Fede


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to