Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.arjuna.mwlabs.wst11.ba.remote;
 
Implementation of class used to create a subordinate BA transaction This class normally redirects all calls to call the corresponding method of the singleton instance which implements UserBusinessActivity. In the case of a begin call it redirects to a beginSubordinate call on the UserBusinessActivity singleton. In the case of a complete, cancel or compensate it throws a WrongStateException, irrespective of whether the current transaction is top-level or subordinate since these operations should only be attempted via the UserTransactionImple singleton obtained by calling TransactionFactory.userTransaction()
        return this;
    }
    public void begin() throws WrongStateExceptionSystemException {
        ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(0);
    }
    public void begin(int timeoutthrows WrongStateExceptionSystemException {
        ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).beginSubordinate(timeout);
    }
        throw new WrongStateException();
    }
        throw new WrongStateException();
    }
        throw new WrongStateException();
    }
    public String transactionIdentifier() {
        return ((UserBusinessActivityImple)UserBusinessActivityImple.getUserBusinessActivity()).transactionIdentifier();
    }
New to GrepCode? Check out our FAQ X