public TxContextImple(CoordinationContextType ctx) { _context = new ContextImple(ctx); }
/** * fetch the coordination context type stashed in the current AT context implememtation * @param current the current AT context implememtation * @return the coordination context type stashed in the current AT context implememtation */ private CoordinationContextType getContextType(TxContextImple current) { ContextImple contextImple = (ContextImple)current.context(); return contextImple.getCoordinationContext(); }
private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, ArjunaContextImple arjunaContext) { String identifier = arjunaContext.getTransactionIdentifier(); return getRegistrationCoordinator(registrationCoordinatorURI, identifier); }
public void afterCompletion (int status) throws SystemException { try { _theRegistrar.disassociate(_cleanupId); } catch (Exception ex) { ex.printStackTrace(); throw new SystemException(ex.toString()); } }
public boolean equals (Object obj) { if (obj instanceof ContextImple) { ContextImple ci = (ContextImple) obj; return ci.getCoordinationContext().getIdentifier().getValue().equals(_coordContext.getIdentifier().getValue()); } else return false; }
public ContextFactoryImple() { try { _coordManager = CoordinatorManagerFactory.coordinatorManager(); _theRegistrar = new RegistrarImple(); // install the factory for the mapper to locate ContextFactoryMapper.getMapper().addContextFactory(ArjunaContextImple.coordinationType, this); } catch (Exception ex) { ex.printStackTrace(); } }
/** * fetch the coordination context type stashed in the current AT context implememtation * @param current the current AT context implememtation * @return the coordination context type stashed in the current AT context implememtation */ private CoordinationContextType getContextType(TxContextImple current) { ContextImple contextImple = (ContextImple)current.context(); return contextImple.getCoordinationContext(); }
private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, ArjunaContextImple arjunaContext) { String identifier = arjunaContext.getTransactionIdentifier(); return getRegistrationCoordinator(registrationCoordinatorURI, identifier); }
public TxContextImple(CoordinationContextType ctx) { _context = new ContextImple(ctx); }
public void afterCompletion (int status) throws SystemException { try { _theRegistrar.disassociate(_cleanupId); } catch (Exception ex) { ex.printStackTrace(); throw new SystemException(ex.toString()); } }
public boolean equals (Object obj) { if (obj instanceof ContextImple) { ContextImple ci = (ContextImple) obj; return ci.getCoordinationContext().getIdentifier().getValue().equals(_coordContext.getIdentifier().getValue()); } else return false; }
public ContextFactoryImple() { try { _coordManager = CoordinatorManagerFactory.coordinatorManager(); _theRegistrar = new RegistrarImple(); // install the factory for the mapper to locate ContextFactoryMapper.getMapper().addContextFactory(ArjunaContextImple.coordinationType, this); } catch (Exception ex) { ex.printStackTrace(); } }
/** * fetch the coordination context type stashed in the current AT context implememtation * @param current the current AT context implememtation * @return the coordination context type stashed in the current AT context implememtation */ private CoordinationContextType getContextType(TxContextImple current) { ContextImple contextImple = (ContextImple)current.context(); return contextImple.getCoordinationContext(); }
private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, ArjunaContextImple arjunaContext) { String identifier = arjunaContext.getTransactionIdentifier(); return getRegistrationCoordinator(registrationCoordinatorURI, identifier); }
public TxContextImple(CoordinationContextType ctx) { _context = new ContextImple(ctx); }
public void afterCompletion (int status) throws SystemException { try { _theRegistrar.disassociate(_cleanupId); } catch (Exception ex) { ex.printStackTrace(); throw new SystemException(ex.toString()); } }
public boolean equals (Object obj) { if (obj instanceof ContextImple) { ContextImple ci = (ContextImple) obj; return ci.getCoordinationContext().getIdentifier().getValue().equals(_coordContext.getIdentifier().getValue()); } else return false; }
/** * fetch the coordination context type stashed in the current AT context implememtation * @param current the current AT context implememtation * @return the coordination context type stashed in the current AT context implememtation */ private CoordinationContextType getContextType(TxContextImple current) { ContextImple contextImple = (ContextImple)current.context(); return contextImple.getCoordinationContext(); }
/** * fetch the coordination context type stashed in the current AT context implememtation * @param current the current AT context implememtation * @return the coordination context type stashed in the current AT context implememtation */ private CoordinationContextType getContextType(TxContextImple current) { ContextImple contextImple = (ContextImple)current.context(); return contextImple.getCoordinationContext(); }
/** * fetch the coordination context type stashed in the current AT context implememtation * @param current the current AT context implememtation * @return the coordination context type stashed in the current AT context implememtation */ private CoordinationContextType getContextType(TxContextImple current) { ContextImple contextImple = (ContextImple)current.context(); return contextImple.getCoordinationContext(); }