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
Modifier and TypeFieldDescriptionprotected boolean
Is the engine initialized ?protected Logger
The logger. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
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 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.
-