Package org.ametys.plugins.syndication
Class FeedCache.FeedLoadWorker
java.lang.Object
org.ametys.plugins.syndication.FeedCache.FeedLoadWorker
- All Implemented Interfaces:
 Runnable
- Enclosing class:
 - FeedCache
 
Runnable loading an URL into the cache.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanIs the engine initialized ?protected LoggerThe logger. - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidCheck 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 Details
- 
_logger
The logger. - 
_initialized
Is the engine initialized ? 
 - 
 - 
Method Details
- 
initialize
Initialize the feed loader.- Parameters:
 logger- the logger.- Throws:
 ContextException- if the context is badly formedServiceException- if somthing goes wrong with the service
 - 
run
 - 
_checkInitialization
Check the initialization and throw an exception if not initialized. - 
_dispose
Dispose of the resources and looked-up components. 
 -