Deprecated API


Contents
Deprecated Classes
org.apache.james.transport.mailets.AddHeader
          This class was replaced by SetMimeHeader and is only here for backwards compatibly. It will be removed in next stable release 
org.apache.james.smtpserver.AddHeaderHandler
          This class was replaced by SetMimeHeaderHandler and is only here for backwards compatibly. It will be removed in next stable release 
 

Deprecated Fields
org.apache.james.transport.Resources.MAIL_SERVER
          this is unused 
org.apache.james.transport.Resources.TMP_REPOSITORY
          this is unused 
org.apache.james.transport.Resources.TRANSPORT
          this is unused 
org.apache.james.transport.Resources.USERS_MANAGER
          this is unused 
 

Deprecated Methods
org.apache.james.James.addUser(String, String)
          we deprecated this in the MailServer interface and this is an implementation this component depends already depends on a UsersRepository: clients could directly use the addUser of the usersRepository. 
org.apache.james.services.MailServer.addUser(String, String)
          addUser should not be considered a property of a MailServer We could have readonly userbases providing full MailServer implementations. Look at the UsersRepository.addUser(username, password) method. 
org.apache.james.util.mordred.JdbcDataSource.killConnection(PoolConnEntry)
          - No longer used in the new approach. 
org.apache.james.services.MailServer.sendMail(MailAddress, Collection, InputStream)
          You can use MailetContext service for this purpose 
org.apache.james.services.MailServer.sendMail(MailAddress, Collection, MimeMessage)
          You can use MailetContext service for this purpose 
org.apache.james.services.MailServer.sendMail(MimeMessage)
          You can use MailetContext service for this purpose 
org.apache.james.James.storeMail(MailAddress, MailAddress, MimeMessage)
          since 2.2.0 look at the LocalDelivery code to find out how to do the local delivery. 
org.apache.mailet.MailetContext.storeMail(MailAddress, MailAddress, MimeMessage)
          - use sparingly. Service will be replaced with resource acquired via JNDI. 
org.apache.mailet.dates.RFC822DateFormat.toString(Date)
          This method is not necessary and is preserved for API backwards compatibility. Users of this class should instantiate an instance and use it as they would any other DateFormat object. 
 



Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.