Package org.ametys.plugins.syndication
Class FeedCache.FeedLoadWorker
- java.lang.Object
-
- org.ametys.plugins.syndication.FeedCache.FeedLoadWorker
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- FeedCache
protected class FeedCache.FeedLoadWorker extends Object implements Runnable
Runnable loading an URL into the cache.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean_initializedIs the engine initialized ?protected Logger_loggerThe logger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void_checkInitialization()Check the initialization and throw an exception if not initialized.protected void_dispose()Dispose of the resources and looked-up components.voidinitialize(Logger logger)Initialize the feed loader.voidrun()
-
-
-
Field Detail
-
_initialized
protected boolean _initialized
Is the engine initialized ?
-
-
Method Detail
-
initialize
public void initialize(Logger logger) throws ContextException, ServiceException
Initialize the feed loader.- Parameters:
logger- the logger.- Throws:
ContextException- if the context is badly formedServiceException- if somthing goes wrong with the service
-
_checkInitialization
protected void _checkInitialization()
Check the initialization and throw an exception if not initialized.
-
_dispose
protected void _dispose()
Dispose of the resources and looked-up components.
-
-