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 void
dispose()
void
enableLogging(Logger logger)
void
initialize()
void
run()
void
service(ServiceManager manager)
-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Constructor Detail
-
PingSitemapTask
public PingSitemapTask()
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceDisposable
-
enableLogging
public void enableLogging(Logger logger)
- Specified by:
enableLogging
in interfaceLogEnabled
-
initialize
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
-