com.uwyn.rife.rep
Interface RepositoryListener


public interface RepositoryListener

An interface that can be implemented to receive notifications about the progress of the initialization of a repository.

Since:
1.0
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
Repository

Method Summary
 void initActionPerformed(Participant participant)
          This method is called when an action has ended during the repository initialization.
 void initFinished()
          This method is called when the initialization of the repository has completely finished.
 

Method Detail

initActionPerformed

void initActionPerformed(Participant participant)
This method is called when an action has ended during the repository initialization.

Every supporting participant should call this when its own initialization is finished, but also has the possibility to call it explicitely at any moment. This allows them to detail their initialization steps as much as is needed.

Typically, the object that implements this method displays the advancement of the repository initialization. Therefore, it's best to first set up all participants. Then, the application is run for the first time to determine exactly how many actions are performed and how they are subdivided for each participant. Using this information, the RepositoryListener can provide a correct visual representation of the initialization process.

Parameters:
participant - The participant that triggered the action.
Since:
1.0

initFinished

void initFinished()
This method is called when the initialization of the repository has completely finished.

This can for instance be used by the RepositoryListener to know when to display the actual application window.

Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.