private static class SmtpEmail.ContextContainer extends ContextLocal<RemoteEmailSender>
HEADLESS_KEY| Modifier | Constructor and Description |
|---|---|
private |
ContextContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected RemoteEmailSender |
initialValue()
Initializes the remote email sender, the first time it is requested within a
new context.
|
RemoteEmailSender |
obtain()
Obtains the context-local instance of the contained global work
area.
|
cleanup, clearInstance, dumpDependencies, get, get, getWeight, isResetAllowed, set, setDebugequals, hashCodepublic RemoteEmailSender obtain()
protected RemoteEmailSender initialValue()
initialValue in class ContextLocal<RemoteEmailSender>