james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: mailetpackages element gone?
Date Wed, 05 Jan 2011 18:07:24 GMT
You need to define the full qualified class name (with package).
If you only define a name (without dot), MailetLoaderBeanFactory tries 
to load the class from the default package for the mailets.
It was introduced in trunk a few weeks ago.



On 5/01/2011 17:56, Andrew S. Tomlinson wrote:
> Is the mailetpackages element for defining the packages from which to load
> custom mailets no longer applicable in James 3 trunk?
> It seems you need to put the full class name in the mailet element.
> I traced the MailetLoaderBeanFactory and it seems to look for a dot path in
> the class attribute; if not found it uses a hard coded standard package from
> getStandardPackage.
> Andrew S. Tomlinson
> Principal - Excelsis Inc
> 317 Lee Ave, Toronto ON M4E 2P7
> T: 416 716 2751
> W: http://www.excelsis.ca<http://www.excelsis.ca/>
> ---------------------------------------------------------------------
> This message contains confidential and proprietary information of the
> sender, and is intended only for the person(s) to whom it is addressed.  Any
> use, distribution, copying or disclosure by any other person is strictly
> prohibited.  If you have received this message in error, please notify the
> e-mail sender immediately, and delete the original message without making a
> copy.

To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org

View raw message