public class MailUtilProvider extends HierarchicalConfigProvider<MailUtil> implements MailConfigurationTags
MailUtil
from an XML configuration file.
Created by Jeff Gaynor
on 1/19/12 at 4:56 PM
MAIL, MAIL_COMPONENT, MAIL_ENABLED, MAIL_MESSAGE_TEMPLATE, MAIL_PASSWORD, MAIL_PORT, MAIL_RECIPIENTS, MAIL_SERVER, MAIL_START_TLS, MAIL_SUBJECT_TEMPLATE, MAIL_USE_SSL, MAIL_USERNAME
DEBUG
Constructor and Description |
---|
MailUtilProvider() |
MailUtilProvider(org.apache.commons.configuration.tree.ConfigurationNode config) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkEvent(CfgEvent cfgEvent)
Checks that the event applies to this component.
|
Object |
componentFound(CfgEvent configurationEvent) |
MailUtil |
get() |
protected MailUtil.MailEnvironment |
getME() |
addListener, fireComponentFound, getAttribute, getAttribute, getBooleanAttribute, getConfig, getConfigurationAt, getIntAttribute, getIntAttribute, hasA, isA, removeListener, setConfig
public MailUtilProvider()
public MailUtilProvider(org.apache.commons.configuration.tree.ConfigurationNode config)
protected boolean checkEvent(CfgEvent cfgEvent)
HierarchicalConfigProvider
CfgEventListener.componentFound(CfgEvent)
method. If checkEvent fails, do no more processing with the event.checkEvent
in class HierarchicalConfigProvider<MailUtil>
public Object componentFound(CfgEvent configurationEvent)
componentFound
in interface CfgEventListener
protected MailUtil.MailEnvironment getME()
Copyright © 2019. All Rights Reserved.