org.jpos.q2.iso
Class DailyTaskAdaptor

java.lang.Object
  extended by org.jpos.q2.QBeanSupport
      extended by org.jpos.q2.iso.DailyTaskAdaptor
All Implemented Interfaces:
Runnable, Configurable, QBean, QBeanSupportMBean, QPersist

public class DailyTaskAdaptor
extends QBeanSupport
implements Runnable

DailyTask Adaptor

Version:
$Revision$ $Date$
Author:
Alejandro Revilla

Field Summary
 
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log
 
Fields inherited from interface org.jpos.q2.QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPING
 
Constructor Summary
DailyTaskAdaptor()
           
 
Method Summary
 Date getWhen()
           
protected  void initService()
           
 void run()
           
protected  void startService()
           
protected  void stopService()
           
protected  void waitUntilStartTime()
           
 
Methods inherited from class org.jpos.q2.QBeanSupport
addAttr, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DailyTaskAdaptor

public DailyTaskAdaptor()
Method Detail

initService

protected void initService()
                    throws Exception
Overrides:
initService in class QBeanSupport
Throws:
Exception

startService

protected void startService()
                     throws Exception
Overrides:
startService in class QBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class QBeanSupport
Throws:
Exception

run

public void run()
Specified by:
run in interface Runnable

getWhen

public Date getWhen()

waitUntilStartTime

protected void waitUntilStartTime()


Copyright © 1998-2012 jPOS.org. All Rights Reserved.