Sun Adapter for e-Mail API

com.stc.connector.emailadapter.eway
Class EmailInboundTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by com.stc.connector.emailadapter.eway.EmailInboundTimerTask
All Implemented Interfaces:
com.stc.connector.management.jca.system.mbeans.LifeCycle, java.lang.Runnable

public class EmailInboundTimerTask
extends java.util.TimerTask
implements com.stc.connector.management.jca.system.mbeans.LifeCycle

This class extends the TimerTask class and is used by the Timer to schedule email polling Work items.

Version:
$Version$
Author:
$Author: cmbuild $

Constructor Summary
EmailInboundTimerTask(EmailEndpoint emailAS)
          Constructor
 
Method Summary
 boolean isStarted()
           
 void run()
          Main processing method for the EmailInboundTimerTask object
 void start()
           
 void stop()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailInboundTimerTask

public EmailInboundTimerTask(EmailEndpoint emailAS)
Constructor

Parameters:
emailAS - The EmailEndpoint which initiated the scheduling of this Timer task.
Method Detail

run

public void run()
Main processing method for the EmailInboundTimerTask object

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

start

public void start()
Specified by:
start in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
See Also:
LifeCycle.start()

stop

public void stop()
Specified by:
stop in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
See Also:
LifeCycle.stop()

isStarted

public boolean isStarted()
Specified by:
isStarted in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
See Also:
LifeCycle.isStarted()

Sun Adapter for e-Mail API