public class WorkEventListener
extends javax.resource.spi.work.WorkAdapter
Constructor and Description |
---|
WorkEventListener(boolean isLong,
org.jboss.jca.core.api.workmanager.StatisticsExecutor shortThreadPool,
org.jboss.jca.core.api.workmanager.StatisticsExecutor longThreadPool,
org.jboss.jca.core.spi.workmanager.Address address,
org.jboss.jca.core.spi.workmanager.transport.Transport transport)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
workCompleted(javax.resource.spi.work.WorkEvent e) |
void |
workRejected(javax.resource.spi.work.WorkEvent e) |
public WorkEventListener(boolean isLong, org.jboss.jca.core.api.workmanager.StatisticsExecutor shortThreadPool, org.jboss.jca.core.api.workmanager.StatisticsExecutor longThreadPool, org.jboss.jca.core.spi.workmanager.Address address, org.jboss.jca.core.spi.workmanager.transport.Transport transport)
isLong
- Is long running work instanceshortThreadPool
- The short running thread poollongThreadPool
- The long running thread pooladdress
- The addresstransport
- The transportpublic void workCompleted(javax.resource.spi.work.WorkEvent e)
workCompleted
in interface javax.resource.spi.work.WorkListener
workCompleted
in class javax.resource.spi.work.WorkAdapter
public void workRejected(javax.resource.spi.work.WorkEvent e)
workRejected
in interface javax.resource.spi.work.WorkListener
workRejected
in class javax.resource.spi.work.WorkAdapter
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)