| org.apache.cocoon.components.source.helpers.SourceRefresher
All known Subclasses: org.apache.cocoon.components.source.helpers.DelaySourceRefresher,
SourceRefresher | public interface SourceRefresher extends Component(Code) | | A SourceRefresher is a component that invokes the
org.apache.excalibur.source.Source.refresh method on a configured set of Sources.
Implementations can for instance trigger refresh based on a timeout value or
in response to an external event.
since: 2.1.1 version: $Id: SourceRefresher.java 485495 2006-12-11 04:44:23Z crossley $ |
Method Summary | |
void | refresh(String name, String uri, Parameters params) Add a uri to the SourceRefresher.
Parameters: name - Uniquely identifying name for the source. Parameters: uri - The uri to refresh. |
refresh | void refresh(String name, String uri, Parameters params) throws SourceException(Code) | | Add a uri to the SourceRefresher.
Parameters: name - Uniquely identifying name for the source. Parameters: uri - The uri to refresh. Every valid protocol can be used. Parameters: params - Additional parameters such as an interval between refresh runs. |
|
|