james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r684747 - /james/server/trunk/imapserver-function/src/main/java/org/apache/james/imapserver/ImapServer.java
Date Mon, 11 Aug 2008 13:52:15 GMT
Author: bago
Date: Mon Aug 11 06:52:09 2008
New Revision: 684747

URL: http://svn.apache.org/viewvc?rev=684747&view=rev
Log:
Attempt at fixing runtime execution. updated ImapServer to use UsersRepository.ROLE instead
of a string.

Modified:
    james/server/trunk/imapserver-function/src/main/java/org/apache/james/imapserver/ImapServer.java

Modified: james/server/trunk/imapserver-function/src/main/java/org/apache/james/imapserver/ImapServer.java
URL: http://svn.apache.org/viewvc/james/server/trunk/imapserver-function/src/main/java/org/apache/james/imapserver/ImapServer.java?rev=684747&r1=684746&r2=684747&view=diff
==============================================================================
--- james/server/trunk/imapserver-function/src/main/java/org/apache/james/imapserver/ImapServer.java
(original)
+++ james/server/trunk/imapserver-function/src/main/java/org/apache/james/imapserver/ImapServer.java
Mon Aug 11 06:52:09 2008
@@ -68,7 +68,7 @@
     {
         super.service( serviceManager );
         UsersRepository usersRepository = ( UsersRepository ) serviceManager.
-                lookup( "org.apache.james.services.UsersRepository" );
+                lookup( UsersRepository.ROLE );
         setUserRepository(usersRepository);
         MailboxManagerProvider mailboxManagerProvider =(MailboxManagerProvider) serviceManager.lookup("org.apache.james.mailboxmanager.manager.MailboxManagerProvider");
         getLogger().debug("MailboxManagerMailRepository uses service "+mailboxManagerProvider);



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


Mime
View raw message