Searched defs:work (Results 1 - 25 of 35) sorted by relevance

12

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/work/
H A DDistributableWork.java41 package javax.resource.spi.work;
H A DDistributableWorkManager.java41 package javax.resource.spi.work;
H A DWork.java41 package javax.resource.spi.work;
H A DWorkContext.java41 package javax.resource.spi.work;
H A DWorkContextProvider.java41 package javax.resource.spi.work;
H A DWorkManager.java41 package javax.resource.spi.work;
51 * from having to create Java threads directly to do work. Further, this
57 * <li> work submit: A <code>Work</code> instance is being submitted for
62 * <li> work accepted: The submitted <code>Work</code> instance has been
73 * <li> work rejected: The <code>Work</code> instance has been rejected.
81 * <li> work started: The execution of the <code>Work</code>
90 * <li> work completed: The execution of the <code>Work</code> has been
129 * @param work The unit of work to be done.
139 void doWork(Work work) // startTimeou argument
171 doWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) argument
195 startWork(Work work) argument
232 startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) argument
251 scheduleWork(Work work) argument
281 scheduleWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) argument
[all...]
H A DRetryableWorkRejectedException.java41 package javax.resource.spi.work;
H A DTransactionContext.java41 package javax.resource.spi.work;
55 * @see javax.resource.spi.work.WorkContext
56 * @see javax.resource.spi.work.ExecutionContext
H A DWorkAdapter.java41 package javax.resource.spi.work;
H A DWorkCompletedException.java41 package javax.resource.spi.work;
H A DWorkContextErrorCodes.java41 package javax.resource.spi.work;
H A DWorkContextLifecycleListener.java41 package javax.resource.spi.work;
H A DWorkListener.java41 package javax.resource.spi.work;
52 * processing events (work accepted, work rejected, work started,
53 * work completed) occur.
H A DWorkRejectedException.java41 package javax.resource.spi.work;
H A DWorkEvent.java41 package javax.resource.spi.work;
86 private Work work; field in class:WorkEvent
106 * @param work The <code>Work</code> object on which
113 public WorkEvent(Object source, int type, Work work, WorkException exc) { argument
116 this.work = work;
128 * @param work The <code>Work</code> object on which
137 public WorkEvent(Object source, int type, Work work, WorkException exc, argument
139 this(source, type, work, exc);
155 public Work getWork() { return this.work; }
[all...]
H A DExecutionContext.java41 package javax.resource.spi.work;
H A DSecurityContext.java41 package javax.resource.spi.work;
93 * @see javax.resource.spi.work.WorkContextProvider
H A DWorkException.java41 package javax.resource.spi.work;
68 * Indicates that concurrent work within a transaction is
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/work/
H A DWorkManager.java41 package com.sun.enterprise.jbi.serviceengine.work;
55 * Set the name of threadpool used by this work manager.
60 * Return the name of threadpool used by this work manager.
65 * Submit a work to the queue of thread pool.
67 public void submitWork(OneWork work); argument
70 * Start the acceptor thread of the work manager.
75 * Stop the activities of the work manager.
80 * Retrieve the MessageAcceptor object in use by this work
H A DWorkManagerImpl.java41 package com.sun.enterprise.jbi.serviceengine.work;
73 * work manager. Also obtains configured thread pool name.
89 * work manager.
96 * Retrieves the MessageAcceptor of the work manager.
103 * Submit a work to the queue of the thread pool.
106 * @param work Work object as specified by the Appserver
109 public void submitWork(OneWork work) { argument
110 tp.getAnyWorkQueue().addWork(work);
/glassfish-3.1.2/connectors/work-management/src/main/java/com/sun/enterprise/connectors/work/context/
H A DCustomWorkContext_A.java41 package com.sun.enterprise.connectors.work.context;
43 import javax.resource.spi.work.WorkContext;
H A DCustomWorkContext_B.java41 package com.sun.enterprise.connectors.work.context;
H A DCustomWorkContext_D.java41 package com.sun.enterprise.connectors.work.context;
/glassfish-3.1.2/connectors/work-management/src/main/java/com/sun/enterprise/connectors/work/
H A DOneWork.java41 package com.sun.enterprise.connectors.work;
46 import javax.resource.spi.work.Work;
49 import com.sun.enterprise.connectors.work.context.WorkContextHandler;
52 * Represents one piece of work that will be submitted to the workqueue.
58 private final Work work; field in class:OneWork
67 private String name = "Resource adapter work";
70 //Store the client's TCC so that when the work is executed,
75 * Creates a work object that can be submitted to a workqueue.
77 * @param work Actual work submitte
80 OneWork(Work work, WorkCoordinator coordinator, WorkContextHandler contextHandler, ClassLoader tcc) argument
[all...]
H A DWorkManagerProxy.java41 package com.sun.enterprise.connectors.work;
45 import javax.resource.spi.work.*;
72 * @see javax.resource.spi.work.WorkManager
74 public void doWork(Work work) throws WorkException { argument
75 wm.doWork(work);
79 * @see javax.resource.spi.work.WorkManager
81 public void doWork(Work work, long startTimeout, ExecutionContext executionContext, argument
83 wm.doWork(work, startTimeout, executionContext, workListener);
87 * @see javax.resource.spi.work.WorkManager
89 public long startWork(Work work) throw argument
96 startWork(Work work, long startTimeout, ExecutionContext executionContext, WorkListener workListener) argument
104 scheduleWork(Work work) argument
110 scheduleWork(Work work, long startTimeout, ExecutionContext executionContext, WorkListener workListener) argument
[all...]

Completed in 107 milliseconds

12