com.uwyn.rife.rep.participants
Class ParticipantSite

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

public class ParticipantSite
extends BlockingParticipant


Constructor Summary
ParticipantSite()
           
 
Method Summary
protected  Object _getObject(Object key)
          Does the actual retrieval of an object from the participant according to a specified key.
 Throwable getException()
           
protected  void initialize()
          Performs the actual initialization actions for the participant.
 
Methods inherited from class com.uwyn.rife.rep.BlockingParticipant
_getObject, cleanup, 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

ParticipantSite

public ParticipantSite()
Method Detail

getException

public Throwable getException()

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(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)


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