javax.resource.spi.work
Interface WorkManager


public interface WorkManager

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Field Summary
static long IMMEDIATE
           
static long INDEFINITE
           
static long UNKNOWN
           
 
Method Summary
 void doWork(Work work)
           
 void doWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
           
 void scheduleWork(Work work)
           
 void scheduleWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
           
 long startWork(Work work)
           
 long startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
           
 

Field Detail

IMMEDIATE

static final long IMMEDIATE
See Also:
Constant Field Values

INDEFINITE

static final long INDEFINITE
See Also:
Constant Field Values

UNKNOWN

static final long UNKNOWN
See Also:
Constant Field Values
Method Detail

doWork

void doWork(Work work)
            throws WorkException
Throws:
WorkException

doWork

void doWork(Work work,
            long startTimeout,
            ExecutionContext execContext,
            WorkListener workListener)
            throws WorkException
Throws:
WorkException

startWork

long startWork(Work work)
               throws WorkException
Throws:
WorkException

startWork

long startWork(Work work,
               long startTimeout,
               ExecutionContext execContext,
               WorkListener workListener)
               throws WorkException
Throws:
WorkException

scheduleWork

void scheduleWork(Work work)
                  throws WorkException
Throws:
WorkException

scheduleWork

void scheduleWork(Work work,
                  long startTimeout,
                  ExecutionContext execContext,
                  WorkListener workListener)
                  throws WorkException
Throws:
WorkException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.