com.uwyn.rife.rep.participants
Class ParticipantDatasources

java.lang.Object
  extended by com.uwyn.rife.rep.BlockingParticipant
      extended by com.uwyn.rife.rep.participants.ParticipantDatasources
All Implemented Interfaces:
Participant, Runnable

public class ParticipantDatasources
extends BlockingParticipant


Constructor Summary
ParticipantDatasources()
           
 
Method Summary
protected  Object _getObject()
           
protected  Object _getObject(Object key)
          Does the actual retrieval of an object from the participant according to a specified key.
protected  void cleanup()
          Performs the actual cleanup actions for the participant.
protected  void initialize()
          Performs the actual initialization actions for the participant.
 
Methods inherited from class com.uwyn.rife.rep.BlockingParticipant
getCleanupMessage, getInitializationMessage, getName, getObject, getObject, getParameter, getRepository, getResourceFinder, hadInitializationError, isFinished, run, setCleanupMessage, setInitializationMessage, setParameter, setResourceFinder, waitUntilFinished
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticipantDatasources

public ParticipantDatasources()
Method Detail

initialize

protected void initialize()
Description copied from class: BlockingParticipant
Performs the actual initialization actions for the participant. This is an abstract method that needs to be implemented by every participant.

Specified by:
initialize in class BlockingParticipant

_getObject

protected Object _getObject()
Overrides:
_getObject in class BlockingParticipant

_getObject

protected Object _getObject(Object key)
Description copied from class: BlockingParticipant
Does the actual retrieval of an object from the participant according to a specified key. This method needs to be implemented by every participant that provides access to data, by default it just returns null.

Overrides:
_getObject in class BlockingParticipant
Parameters:
key - An Object instance that is used as the key to obtain a corresponding object from the participant with.
Returns:
null if no object could be found that corresponds to the provided key; or

an Object instance that corresponds to the provided key

See Also:
BlockingParticipant.getObject(), BlockingParticipant.getObject(Object)

cleanup

protected void cleanup()
Description copied from class: BlockingParticipant
Performs the actual cleanup actions for the participant. This is method can be overridden when a participant needs to customize the cleanup..

Overrides:
cleanup in class BlockingParticipant


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