org.jacorb.notification.engine
Class PullFromSupplierTask
java.lang.Object
org.jacorb.notification.util.AbstractPoolable
org.jacorb.notification.engine.AbstractTask
org.jacorb.notification.engine.PullFromSupplierTask
- All Implemented Interfaces:
- Runnable, Schedulable, org.picocontainer.Disposable
public class PullFromSupplierTask
- extends AbstractTask
- Author:
- Alphonse Bendt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setTarget
public void setTarget(MessageSupplier target)
doWork
public void doWork()
throws Disconnected
- Description copied from class:
AbstractTask
- Override this Method in Subclasses to do the "real work".
- Specified by:
doWork in class AbstractTask
- Throws:
Disconnected
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
handleTaskError
public void handleTaskError(AbstractTask task,
Exception error)
- Description copied from class:
AbstractTask
- error handler method that will be invoked if an exception occurs during doWork.
- Parameters:
task - the task that caused the error.error - the exception that was thrown.
schedule
public void schedule()
Copyright © 2015 JacORB. All rights reserved.