You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2008/08/25 11:48:30 UTC
svn commit: r688688 [3/3] - in /james/server/trunk:
avalon-socket-library/src/main/java/org/apache/james/socket/
nntpserver-function/src/main/java/org/apache/james/nntpserver/
phoenix-deployment/src/java/org/apache/james/experimental/imapserver/
pop3se...
Modified: james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
URL: http://svn.apache.org/viewvc/james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java?rev=688688&r1=688687&r2=688688&view=diff
==============================================================================
--- james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java (original)
+++ james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java Mon Aug 25 02:48:29 2008
@@ -32,6 +32,7 @@
import org.apache.james.api.user.UsersRepository;
import org.apache.james.services.MailServer;
import org.apache.james.socket.AbstractJamesService;
+import org.apache.james.socket.ProtocolHandler;
import org.apache.mailet.MailetContext;
/**
@@ -273,24 +274,14 @@
}
/**
- * @see org.apache.avalon.excalibur.pool.ObjectFactory#newInstance()
+ * @see org.apache.james.socket.AbstractJamesService#newProtocolHandlerInstance()
*/
- public Object newInstance() throws Exception {
+ public ProtocolHandler newProtocolHandlerInstance() {
SMTPHandler theHandler = new SMTPHandler();
//pass the handler chain to every SMTPhandler
theHandler.setHandlerChain(handlerChain);
-
return theHandler;
}
-
- /**
- * @see org.apache.avalon.excalibur.pool.ObjectFactory#getCreatedClass()
- */
- public Class getCreatedClass() {
- return SMTPHandler.class;
- }
-
-
/**
* A class to provide SMTP handler configuration to the handlers
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org