org.apache.cocoon.components.source
Interface LockableSource

All Superinterfaces:
Source
All Known Implementing Classes:
SlideSource, SourceDTO

public interface LockableSource
extends Source

A source, which could be locked

Version:
CVS $Id: LockableSource.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Stephan Michels

Method Summary
 void addSourceLocks(SourceLock sourcelock)
          Add a lock to this source
 SourceLock[] getSourceLocks()
          Returns a list of locks on the source.
 
Methods inherited from interface org.apache.excalibur.source.Source
exists, getContentLength, getInputStream, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh
 

Method Detail

addSourceLocks

void addSourceLocks(SourceLock sourcelock)
                    throws SourceException
Add a lock to this source

Parameters:
sourcelock - Lock, which should be added
Throws:
SourceException - If an exception occurs during this operation

getSourceLocks

SourceLock[] getSourceLocks()
                            throws SourceException
Returns a list of locks on the source.

Returns:
Enumeration of SourceLock
Throws:
SourceException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.