com.uwyn.rife.rep
Interface Participant

All Known Implementing Classes:
BlockingParticipant, ParticipantConfig, ParticipantCursors, ParticipantDatasources, ParticipantImages, ParticipantMemoryScheduler, ParticipantMemoryUsers, ParticipantSite, ParticipantSpringWeb, SingleObjectParticipant

public interface Participant

A Participant is basically a service that needs to be initialized before it can return objects that correspond to specified identification keys.

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

Method Summary
 Object getObject()
          Returns the default object for this participant.
 Object getObject(Object key)
          Retrieves the object from the participant that corresponds to a particular key.
 boolean isFinished()
          Checks if the initialization of this participant is finished.
 

Method Detail

getObject

Object getObject()
Returns the default object for this participant.

Returns:
an Object instance containing the default object; or

null if no default object exists

Since:
1.0

getObject

Object getObject(Object key)
Retrieves the object from the participant that corresponds to a particular key.

Parameters:
key - An Object instance that used as the key to look up a corresponding object from the participant.
Returns:
the requested Object instance; or

null if no object could be found that corresponds to the provided key

Since:
1.0

isFinished

boolean isFinished()
Checks if the initialization of this participant is finished.

Returns:
true if the initialization is finished; or

false if the initialization is in progress

Since:
1.0


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