james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miroslav Nachev <m...@space-comm.com>
Subject Re: How to add some functionality to SMTPServer
Date Fri, 08 Aug 2003 11:49:46 GMT
   Instead the hard coded I do the following in MySMTPServer.java:

   public class MySMTPServer
      extends SMTPServer
   {
       private ObjectFactory theHandlerFactory = getSMTPHandlerFactory();


       public static ObjectFactory getSMTPHandlerFactory()
       {
           return new ObjectFactory()
           {
              public Object newInstance()
              {
                 ...
              }
              ...
           }
       }
   }


   Regards,
   Miro.



---------------------------------------------------------------------
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