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:
- Runnable, Schedulable, org.picocontainer.Disposable
- Direct Known Subclasses:
- AbstractFilterTask
public abstract class AbstractMessageTask
- extends AbstractTask
- 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 InterruptedException
- Overrides:
checkInterrupt in class AbstractTask
- Throws:
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
Copyright © 2015 JacORB. All rights reserved.