/** * this constructor installs a participant manager which routes messages via the current activity * @param resource * @param id */ public BusinessAgreementWithParticipantCompletionImple( BusinessAgreementWithParticipantCompletionParticipant resource, String id) { this(new BAParticipantManagerImple(id), resource, id); }
public String transactionIdentifier() { return ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).transactionIdentifier(); } }
public String toString () { return transactionIdentifier(); }
public void begin() throws WrongStateException, SystemException { ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(0); }
public String toString () { return transactionIdentifier(); }
/** * fetch the coordination context type stashed in the current BA context implememtation * and use it to construct an instance of the coordination context extension type we need to * send down the wire to the activation coordinator * @param current the current AT context implememtation * @return an instance of the coordination context extension type */ private CoordinationContext getContext(TxContextImple current) { CoordinationContextType contextType = getContextType(current); CoordinationContext context = new CoordinationContext(); context.setCoordinationType(contextType.getCoordinationType()); context.setExpires(contextType.getExpires()); context.setIdentifier(contextType.getIdentifier()); context.setRegistrationService(contextType.getRegistrationService()); return context; }
/** * fetch the coordination context type stashed in the current BA context implememtation * and use it to construct an instance of the coordination context extension type we need to * send down the wire to the activation coordinator * @param current the current AT context implememtation * @return an instance of the coordination context extension type */ private CoordinationContext getContext(TxContextImple current) { CoordinationContextType contextType = getContextType(current); CoordinationContext context = new CoordinationContext(); context.setCoordinationType(contextType.getCoordinationType()); context.setExpires(contextType.getExpires()); context.setIdentifier(contextType.getIdentifier()); context.setRegistrationService(contextType.getRegistrationService()); return context; }
public void begin() throws WrongStateException, SystemException { ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(0); }
public String transactionIdentifier() { return ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).transactionIdentifier(); } }
/** * this constructor installs a participant manager which routes messages via the current activity * @param resource * @param id */ public BusinessAgreementWithParticipantCompletionImple( BusinessAgreementWithParticipantCompletionParticipant resource, String id) { this(new BAParticipantManagerImple(id), resource, id); }
public String toString () { return transactionIdentifier(); }
public String toString () { return transactionIdentifier(); }
public void begin(int timeout) throws WrongStateException, SystemException { ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(timeout); }
public String transactionIdentifier() { return ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).transactionIdentifier(); } }
/** * this constructor installs a participant manager which routes messages via the current activity * @param resource * @param id */ public BusinessAgreementWithParticipantCompletionImple( BusinessAgreementWithParticipantCompletionParticipant resource, String id) { this(new BAParticipantManagerImple(id), resource, id); }
public String toString () { return transactionIdentifier(); }
public String toString () { return transactionIdentifier(); }
public void begin() throws WrongStateException, SystemException { ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(0); }
public void begin(int timeout) throws WrongStateException, SystemException { ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(timeout); }
public void begin(int timeout) throws WrongStateException, SystemException { ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(timeout); }