| org.apache.lenya.ac.cache.SourceCache
All known Subclasses: org.apache.lenya.ac.cache.SourceCacheImpl,
SourceCache | public interface SourceCache extends Component(Code) | | Source cache component.
version: $Id: SourceCache.java 473861 2006-11-12 03:51:14Z gregor $ |
Field Summary | |
String | ROLE Avalon role of the SourceCache interface. |
Method Summary | |
Object | get(String sourceUri, InputStreamBuilder builder) Returns a cached object or builds a new object when the cached
object does not exist or is not up to date.
Parameters: sourceUri - The URI to build the source from. Parameters: builder - The builder to create a new object if needed. |
ROLE | String ROLE(Code) | | Avalon role of the SourceCache interface.
|
get | Object get(String sourceUri, InputStreamBuilder builder) throws CachingException(Code) | | Returns a cached object or builds a new object when the cached
object does not exist or is not up to date.
Parameters: sourceUri - The URI to build the source from. Parameters: builder - The builder to create a new object if needed. An object. throws: CachingException - when something went wrong. |
|
|