com.japisoft.framework.job
Class JobAdapter

java.lang.Object
  extended bycom.japisoft.framework.job.JobAdapter
All Implemented Interfaces:
Job, java.lang.Runnable

public class JobAdapter
extends java.lang.Object
implements Job

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
JobAdapter()
           
 
Method Summary
 void dispose()
          Free inner resource
 java.lang.Object getSource()
           
 boolean isAlone()
           
 void run()
           
 void stopIt()
          Stop the current job
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobAdapter

public JobAdapter()
Method Detail

dispose

public void dispose()
Description copied from interface: Job
Free inner resource

Specified by:
dispose in interface Job

getSource

public java.lang.Object getSource()
Specified by:
getSource in interface Job
Returns:
the invoker reference

isAlone

public boolean isAlone()
Specified by:
isAlone in interface Job
Returns:
true if the job must be alone. Meaning all queued Job for the same type will be killed

run

public void run()
Specified by:
run in interface java.lang.Runnable

stopIt

public void stopIt()
Description copied from interface: Job
Stop the current job

Specified by:
stopIt in interface Job