Package org.ametys.web.robots
Class PingSitemapTask
- java.lang.Object
-
- java.util.TimerTask
-
- org.ametys.web.robots.PingSitemapTask
-
- All Implemented Interfaces:
Runnable,Disposable,Initializable,Component,LogEnabled,Serviceable
public class PingSitemapTask extends TimerTask implements Component, Initializable, LogEnabled, Serviceable, Disposable
Periodically ping three search engine : Google, Yahoo and Bing
-
-
Constructor Summary
Constructors Constructor Description PingSitemapTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()voidenableLogging(Logger logger)voidinitialize()voidrun()voidservice(ServiceManager manager)-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Constructor Detail
-
PingSitemapTask
public PingSitemapTask()
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable
-
enableLogging
public void enableLogging(Logger logger)
- Specified by:
enableLoggingin interfaceLogEnabled
-
initialize
public void initialize() throws Exception
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
-