org.jacorb.notification.engine
Class AbstractMessageTask
java.lang.Object
org.jacorb.notification.util.AbstractPoolable
org.jacorb.notification.engine.AbstractTask
org.jacorb.notification.engine.AbstractMessageTask
- All Implemented Interfaces:
- org.picocontainer.Disposable, Disposable, java.lang.Runnable, Schedulable
- Direct Known Subclasses:
- AbstractFilterTask
- public abstract class AbstractMessageTask
- extends AbstractTask
- Version:
- $Id: AbstractMessageTask.java,v 1.3 2005/04/27 10:48:40 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMessageTask
public AbstractMessageTask()
setMessage
public void setMessage(Message message)
- set the Message for this Task to use.
removeMessage
public Message removeMessage()
copyMessage
public Message copyMessage()
isRunnable
protected boolean isRunnable()
- Overrides:
isRunnable
in class AbstractTask
checkInterrupt
protected void checkInterrupt()
throws java.lang.InterruptedException
- Overrides:
checkInterrupt
in class AbstractTask
- Throws:
java.lang.InterruptedException
getMessage
protected Message getMessage()
dispose
public void dispose()
- Description copied from class:
AbstractPoolable
- The call to this Method indicates that this Object is not needed by the user anymore. After a
call to
dispose
the Object can be returned to its ObjectPool. It's forbidden
to use the Object after release has been called as this may cause unexpected behaviour.
- Specified by:
dispose
in interface org.picocontainer.Disposable
- Overrides:
dispose
in class AbstractPoolable
reset
public void reset()
- Description copied from class:
AbstractPoolable
- Reset the Object to an initial state. Subclasses should override this method appropiately to
reset the instance to an initial state.
- Specified by:
reset
in class AbstractPoolable