Searched refs:work (Results 1 - 25 of 61) sorted by relevance

123

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/work/
H A DDistributableWorkManager.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 DDistributableWork.java41 package javax.resource.spi.work;
H A DWorkContextLifecycleListener.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 DTransactionContext.java41 package javax.resource.spi.work;
55 * @see javax.resource.spi.work.WorkContext
56 * @see javax.resource.spi.work.ExecutionContext
H A DWorkContext.java41 package javax.resource.spi.work;
H A DWorkContextErrorCodes.java41 package javax.resource.spi.work;
H A DWork.java41 package javax.resource.spi.work;
H A DWorkContextProvider.java41 package javax.resource.spi.work;
H A DSecurityContext.java41 package javax.resource.spi.work;
93 * @see javax.resource.spi.work.WorkContextProvider
H A DWorkAdapter.java41 package javax.resource.spi.work;
H A DWorkCompletedException.java41 package javax.resource.spi.work;
H A DWorkRejectedException.java41 package javax.resource.spi.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 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...]
H A DWorkCoordinator.java41 package com.sun.enterprise.connectors.work;
46 import com.sun.enterprise.connectors.work.context.WorkContextHandler;
47 import com.sun.enterprise.connectors.work.monitor.WorkManagementProbeProvider;
53 import javax.resource.spi.work.*;
58 * WorkCoordinator : Coordinates one work's execution. Handles all
79 private final javax.resource.spi.work.Work work; field in class:WorkCoordinator
103 * @param work A work object as submitted by the resource adapter
104 * @param timeout timeout for the work instanc
110 WorkCoordinator(javax.resource.spi.work.Work work, long timeout, ExecutionContext ec, WorkQueue queue, WorkListener listener, WorkManagementProbeProvider probeProvider, ConnectorRuntime runtime, String raName, WorkContextHandler handler) argument
455 getExecutionContext(ExecutionContext ec, Work work) argument
[all...]
H A DCommonWorkManager.java41 package com.sun.enterprise.connectors.work;
50 import com.sun.enterprise.connectors.work.monitor.WorkManagementProbeProvider;
51 import com.sun.enterprise.connectors.work.monitor.WorkManagementStatsProvider;
52 import com.sun.enterprise.connectors.work.context.WorkContextHandler;
56 import javax.resource.spi.work.*;
161 logger.log(Level.FINE, "Registered work-monitoring stats [ "+dottedNamesHierarchy+" ] " +
174 logger.log(Level.FINE, "De-registered work-monitoring stats [ "+dottedNamesHierarchy+" ]" +
186 * Executes the work instance.
188 * @param work work instanc
191 doWork(Work work) argument
206 doWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) argument
241 startWork(Work work) argument
260 startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) argument
310 scheduleWork(Work work) argument
326 scheduleWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) argument
[all...]
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...]
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DBootstrapContext.java44 import javax.resource.spi.work.WorkManager;
45 import javax.resource.spi.work.WorkContext;
63 * do its work by submitting <code>Work</code> instances for execution.
/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
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/comm/
H A DMessageReceiver.java43 import com.sun.enterprise.jbi.serviceengine.work.WorkManager;
44 import com.sun.enterprise.jbi.serviceengine.work.OneWork;
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DWorkManagerFactory.java45 import javax.resource.spi.work.WorkManager;
50 * get the proxy work manager object for the rar
53 * @return work-manager proxy
54 * @throws ConnectorRuntimeException when unable to provide a proxy work manager
59 * remove the work manager of the module (rar) from work-manager registry
61 * @return boolean indicating whether the work-manager is removed from registry or not
66 * create a new work manager for the resource-adapter

Completed in 64 milliseconds

123