Searched refs:coordinator (Results 1 - 6 of 6) sorted by relevance

/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jtsxa/
H A DUtility.java88 * Obtain the coordinator object from the supplied control.
89 * <p>If a null control is supplied, an null coordinator will be returned.
91 * @param control the control object for which the coordinator
94 * @return the coordinator, or null if no coordinator can be obtained.
100 Coordinator coordinator = null;
107 coordinator = control.get_coordinator();
109 coordinator = null;
112 return coordinator;
116 * Obtain the global transaction identifier for the supplied coordinator
125 getXID(Coordinator coordinator) argument
[all...]
/glassfish-3.1.2/connectors/work-management/src/main/java/com/sun/enterprise/connectors/work/
H A DOneWork.java59 private final WorkCoordinator coordinator; field in class:OneWork
78 * @param coordinator <code>WorkCoordinator</code> object.
80 OneWork (Work work, WorkCoordinator coordinator, WorkContextHandler contextHandler, ClassLoader tcc) { argument
82 this.coordinator = coordinator;
96 coordinator.preInvoke(); // pre-invoke will set work state to "started",
97 boolean timedOut = coordinator.isTimedOut();
101 if (coordinator.proceed()) {
103 coordinator.setupContext(this);
107 coordinator
[all...]
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DCoordinatorTerm.java93 private CoordinatorImpl coordinator = null; field in class:CoordinatorTerm
138 coordinator = coord;
144 if( coordinator != null )
145 coordinator.setTerminator(this);
166 coordinator.rollback(true);
170 ((TopCoordinator)coordinator).afterCompletion(Status.StatusRolledBack);
173 coordinator = null;
225 if( coordinator == null ) {
254 sameCoordinator = coordinator.is_same_transaction(currentCoord);
268 establishedControl = new ControlImpl(null,coordinator,
[all...]
H A DCoordinatorSynchronizationImpl.java104 private TopCoordinator coordinator = null; field in class:CoordinatorSynchronizationImpl
134 coordinator = coord;
152 coordinator = null;
173 if( coordinator == null ) {
179 // Pass the before completion operation on to the coordinator.
181 coordinator.beforeCompletion();
201 if( coordinator == null ) {
207 // Pass the after completion operation on to the coordinator.
210 coordinator.afterCompletion(status);
278 coordinator
[all...]
H A DTransactionFactoryImpl.java187 TopCoordinator coordinator = null;
192 coordinator = new TopCoordinator(timeOut);
200 terminator = new TerminatorImpl(coordinator,false);
206 // result = new ControlImpl(terminator, coordinator,
207 // new GlobalTID(coordinator.getGlobalTID()),
208 // new Long(coordinator.getLocalTID()));
209 result = new ControlImpl(terminator, coordinator,
210 coordinator.getGlobalTid(),
211 new Long(coordinator.getLocalTID()));
218 ((TopCoordinator)coordinator)
[all...]
H A DTerminatorImpl.java125 * @param coordinator The Coordinator for the transaction.
132 TerminatorImpl (CoordinatorImpl coordinator, boolean subtran) { argument
136 coordTerm = new CoordinatorTerm(coordinator, subtran);

Completed in 17 milliseconds