public class FetchScheduler extends Object implements FetchSchedulerMBean, LogEnabled, Configurable
Constructor and Description |
---|
FetchScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.commons.configuration.HierarchicalConfiguration config)
Configure the object.
|
void |
dispose() |
void |
init() |
boolean |
isEnabled()
Describes whether this service is enabled by configuration.
|
void |
setDNSService(DNSService dns) |
void |
setDomainList(DomainList domainList) |
void |
setLog(org.slf4j.Logger logger)
Sets the service log.
|
void |
setMailQueueFactory(MailQueueFactory queueFactory) |
void |
setUsersRepository(UsersRepository urepos) |
public void setMailQueueFactory(MailQueueFactory queueFactory)
public void setDNSService(DNSService dns)
public void setUsersRepository(UsersRepository urepos)
public void setDomainList(DomainList domainList)
public final void setLog(org.slf4j.Logger logger)
LogEnabled
setLog
in interface LogEnabled
logger
- not nullLogEnabled.setLog(org.slf4j.Logger)
public final void configure(org.apache.commons.configuration.HierarchicalConfiguration config) throws org.apache.commons.configuration.ConfigurationException
Configurable
configure
in interface Configurable
org.apache.commons.configuration.ConfigurationException
Configurable.configure(org.apache.commons.configuration.HierarchicalConfiguration)
@PostConstruct public void init() throws Exception
Exception
@PreDestroy public void dispose()
public final boolean isEnabled()
isEnabled
in interface FetchSchedulerMBean
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.