org.apache.slide.lock
Interface UnlockListener


public interface UnlockListener

An UnlockListener may be passed to the Lock helper in order to have more control on the unlock operation. The UnlockListener will be notified before and after unlocking any single resource.

Version:
$Revision: 1.3 $

Method Summary
 void afterUnlock(java.lang.String uri)
          This method is called after unlocking the resource.
 void beforeUnlock(java.lang.String uri)
          This method is called before unlocking the resource.
 

Method Detail

beforeUnlock

public void beforeUnlock(java.lang.String uri)
                  throws SlideException
This method is called before unlocking the resource.

Parameters:
uri - the uri of the resource that will be unlocked.
Throws:
SlideException

afterUnlock

public void afterUnlock(java.lang.String uri)
                 throws SlideException
This method is called after unlocking the resource.

Parameters:
uri - the uri of the resource that has been unlocked.
Throws:
SlideException