|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.mail.inflow.NewMsgsWorker
public class NewMsgsWorker

Handles new messages
| Constructor Summary | |
|---|---|
NewMsgsWorker(javax.resource.spi.work.WorkManager mgr,
Integer queueSize)
Constructor |
|
| Method Summary | |
|---|---|
void |
release()
Release |
void |
run()
Run |
void |
watch(MailActivation activation)
Watch an activation |
void |
workAccepted(javax.resource.spi.work.WorkEvent e)
Work accepted |
void |
workCompleted(javax.resource.spi.work.WorkEvent e)
Work completed |
void |
workRejected(javax.resource.spi.work.WorkEvent e)
Work rejected |
void |
workStarted(javax.resource.spi.work.WorkEvent e)
Work started |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewMsgsWorker(javax.resource.spi.work.WorkManager mgr,
Integer queueSize)
mgr - The work managerqueueSize - The queue size| Method Detail |
|---|
public void watch(MailActivation activation)
throws InterruptedException
activation - The activation
InterruptedException - Thrown if the queue is interruptedpublic void release()
release in interface javax.resource.spi.work.Workpublic void run()
run in interface Runnablepublic void workAccepted(javax.resource.spi.work.WorkEvent e)
workAccepted in interface javax.resource.spi.work.WorkListenere - The eventpublic void workRejected(javax.resource.spi.work.WorkEvent e)
workRejected in interface javax.resource.spi.work.WorkListenere - The eventpublic void workStarted(javax.resource.spi.work.WorkEvent e)
workStarted in interface javax.resource.spi.work.WorkListenere - The eventpublic void workCompleted(javax.resource.spi.work.WorkEvent e)
workCompleted in interface javax.resource.spi.work.WorkListenere - The event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||