[ 
http://issues.apache.org/jira/browse/JAMES-488?page=comments#action_12378664 ] 

Norman Maurer commented on JAMES-488:
-------------------------------------

I also notice the i need to the DNSServer in the SMTPServer. So we could add a 
method to SMTPHandlerConfiguration to retrieve the DNSServer and implement this 
in SMTPServer. So we can access the DNSServer directly from the SMTPCommands 
without implement Servicable. What you guys think about it ?

> Remove static access of DNSServer
> ---------------------------------
>
>          Key: JAMES-488
>          URL: http://issues.apache.org/jira/browse/JAMES-488
>      Project: James
>         Type: Improvement

>   Components: DNSServer
>     Reporter: Norman Maurer
>     Assignee: Norman Maurer
>  Attachments: DNSServer-not-static-usage.patch
>
> We should remove all static access to DNSServer and move the methods to the 
> DNSServer interface. After that we should be able to acces this via the 
> interface Serviceable. 
> This will it make easier to write junit tests etc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to