com.uwyn.rife.rep.participants
Class ParticipantMemoryScheduler
java.lang.Object
com.uwyn.rife.rep.BlockingParticipant
com.uwyn.rife.rep.participants.ParticipantMemoryScheduler
- All Implemented Interfaces:
- Participant, Runnable
public class ParticipantMemoryScheduler
- extends BlockingParticipant
|
Method Summary |
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 |
_getObject, 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 |
ParticipantMemoryScheduler
public ParticipantMemoryScheduler()
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
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
_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.