Deprecated API


Contents
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.api.user.UsersRepository.addUser(String, Object)
          James 2.4 user is always added using username/password and eventually modified by retrieving it later. 
org.apache.james.jcr.JCRUsersRepository.addUser(String, Object)
          James 2.4 user is always added using username/password and eventually modified by retrieving it later. 
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.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.api.user.UsersRepository.addUser(User)
          James 2.4 user should be added using username/password because specific implementations of UsersRepository will support specific implementations of users object. 
org.apache.james.jcr.JCRUsersRepository.addUser(User)
          James 2.4 user should be added using username/password because specific implementations of UsersRepository will support specific implementations of users object. 
org.apache.james.api.user.UsersRepository.containsCaseInsensitive(String)
          James 2.4 now caseSensitive is a property of the repository implementations and the contains will search according to this property. 
org.apache.james.jcr.JCRUsersRepository.containsCaseInsensitive(String)
          James 2.4 now caseSensitive is a property of the repository implementations and the contains will search according to this property. 
org.apache.james.impl.vut.VirtualUserTableUtil.getMappings(String)
          Use mappingToCollection(String rawMapping) 
org.apache.james.api.user.UsersRepository.getUserByNameCaseInsensitive(String)
          James 2.4 now caseSensitive is a property of the repository implementations and the getUserByName will search according to this property. 
org.apache.james.jcr.JCRUsersRepository.getUserByNameCaseInsensitive(String)
          James 2.4 now caseSensitive is a property of the repository implementations and the getUserByName will search according to this property. 
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. 
 



Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.