Interface MailServerLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface which loads
MailServer
.-
Method Summary
Modifier and TypeMethodDescriptionLoad the mail server implementation based on the class name and realm.
-
Method Details
-
load
Load the mail server implementation based on the class name and realm.- Parameters:
realm
- Non null realm to associate with the mail server.- Returns:
- A mail server implementation.
- Throws:
IllegalStateException
- If there was any error resolving the class.
-