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
_initialized
Is the engine initialized ?protected Logger
_logger
The 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.void
initialize(Logger logger)
Initialize the feed loader.void
run()
-
-
-
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.
-
-