You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by Stefano Bagnara <ap...@bago.org> on 2006/11/20 16:19:52 UTC
Re: [James Wiki] Update of "ProposedMailetSpec" by AndrewCOliver
Apache Wiki wrote:
> == Mailet User Contract ==
> 1. Mailets must use JavaBeans method naming conventions
> 1. Mailet classes may expose 1 or more public constructors which may only take JavaPrimitive type parameters or none at all.
I prefer the empty constructor. Can you make an example of the
constructors taking only JavaPrimitive types and their purpose?
> 1. Mailet classes may implement their interface
May? I don't understand this...
> 1. Mailet interfaces must be annotated with org.apache.mailet.annotation.Mailet
What are you trying to achieve with this?
What are the "Mailet interfaces"?
Stefano
Re: [James Wiki] Update of "ProposedMailetSpec" by AndrewCOliver
Posted by Stefano Bagnara <ap...@bago.org>.
Ok, I'm fine with this workflow: I just preferred to tell you asap if I
have doubts/questions.
Thank you,
Stefano
Andrew C. Oliver wrote:
> Let me get back to you on this as I fill the page out some more and have
> played with my code some more. (meaning I'm not ignoring you...just
> replying later)
>
> I'd like to get the ideas more into a runnable form, fill out the page
> from there and then we can poke holes in it together that way.
> Thanks,
>
> Andy
>
> Stefano Bagnara wrote:
>> Apache Wiki wrote:
>>> == Mailet User Contract ==
>>> 1. Mailets must use JavaBeans method naming conventions
>>> 1. Mailet classes may expose 1 or more public constructors which may
>>> only take JavaPrimitive type parameters or none at all.
>>
>> I prefer the empty constructor. Can you make an example of the
>> constructors taking only JavaPrimitive types and their purpose?
>>
>>> 1. Mailet classes may implement their interface
>>
>> May? I don't understand this...
>>
>>> 1. Mailet interfaces must be annotated with
>>> org.apache.mailet.annotation.Mailet
>>
>> What are you trying to achieve with this?
>> What are the "Mailet interfaces"?
>>
>> Stefano
>>
>
>
>
Re: [James Wiki] Update of "ProposedMailetSpec" by AndrewCOliver
Posted by "Andrew C. Oliver" <ac...@apache.org>.
Let me get back to you on this as I fill the page out some more and have
played with my code some more. (meaning I'm not ignoring you...just
replying later)
I'd like to get the ideas more into a runnable form, fill out the page
from there and then we can poke holes in it together that way.
Thanks,
Andy
Stefano Bagnara wrote:
> Apache Wiki wrote:
>> == Mailet User Contract ==
>> 1. Mailets must use JavaBeans method naming conventions
>> 1. Mailet classes may expose 1 or more public constructors which may
>> only take JavaPrimitive type parameters or none at all.
>
> I prefer the empty constructor. Can you make an example of the
> constructors taking only JavaPrimitive types and their purpose?
>
>> 1. Mailet classes may implement their interface
>
> May? I don't understand this...
>
>> 1. Mailet interfaces must be annotated with
>> org.apache.mailet.annotation.Mailet
>
> What are you trying to achieve with this?
> What are the "Mailet interfaces"?
>
> Stefano
>