Interface MailServerFactory<T extends MailServer>
- Type Parameters:
T- the type ofMailServerto create
Factory interface for creating instances of
MailServer.
A sub-interface of this should be created and registered to the guice context for each
subclass of MailServer that is created.-
Method Summary
-
Method Details
-
create
Create a new MailServer.- Parameters:
realm- the realm from which to fetch the mail service configuration- Returns:
- a new instance of
MailServer
-