当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
NewMsgsWorker (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.mail.inflow
Class NewMsgsWorker
java.lang.Object
org.jboss.resource.adapter.mail.inflow.NewMsgsWorker
- All Implemented Interfaces:
- EventListener, Runnable, javax.resource.spi.work.Work, javax.resource.spi.work.WorkListener
- public class NewMsgsWorker
- extends Object
- implements javax.resource.spi.work.Work, javax.resource.spi.work.WorkListener
- Version:
- $Revision: 1.1 $
- Author:
- Scott.Stark@jboss.org
Constructor Summary |
NewMsgsWorker(javax.resource.spi.work.WorkManager mgr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewMsgsWorker
public NewMsgsWorker(javax.resource.spi.work.WorkManager mgr)
watch
public void watch(MailActivation activation)
throws InterruptedException
- Throws:
InterruptedException
release
public void release()
- Specified by:
release
in interface javax.resource.spi.work.Work
run
public void run()
- Specified by:
run
in interface Runnable
workAccepted
public void workAccepted(javax.resource.spi.work.WorkEvent e)
- Specified by:
workAccepted
in interface javax.resource.spi.work.WorkListener
workRejected
public void workRejected(javax.resource.spi.work.WorkEvent e)
- Specified by:
workRejected
in interface javax.resource.spi.work.WorkListener
workStarted
public void workStarted(javax.resource.spi.work.WorkEvent e)
- Specified by:
workStarted
in interface javax.resource.spi.work.WorkListener
workCompleted
public void workCompleted(javax.resource.spi.work.WorkEvent e)
- Specified by:
workCompleted
in interface javax.resource.spi.work.WorkListener
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.