james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmeet Bedi" <harm...@kodemuse.com>
Subject Re: JNDI Mailet Configuration
Date Sat, 01 Feb 2003 16:35:44 GMT
Aaron, I think it is a good idea. Extending this a bit

do you think
----- Original Message ----- 
>     // Obtain a reference to a custom mail repository used by this mailet
>     MailRepository repository = 
> (MailRepository)myContext.lookup("myRepository");

should be
>     // Obtain a reference to a custom mail repository used by this mailet
>     DirContext repository = 
>       (DirContext)myContext.lookup("myRepository");

Why would James need a non JNDI interface for Repository ? 

Harmeet


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


Mime
View raw message