Package com.arjuna.mwlabs.wsas.activity

Examples of com.arjuna.mwlabs.wsas.activity.ActivityImple


   * @see com.arjuna.mw.wsas.status.Status
   */

  public com.arjuna.mw.wsas.status.Status status () throws SystemException
  {
    ActivityImple curr = current();

    if (curr == null)
      return NoActivity.instance();

    return _coordManager.status();
View Full Code Here


   */

  public CoordinatorId identifier () throws NoActivityException,
      SystemException
  {
    ActivityImple curr = current();

    if (curr == null)
      throw new NoActivityException();

    return _coordManager.identifier();
View Full Code Here

   * @see com.arjuna.mw.wsas.status.Status
   */

  public com.arjuna.mw.wsas.status.Status status () throws SystemException
  {
    ActivityImple curr = current();

    if (curr == null)
      return NoActivity.instance();

    return _coordManager.status();
View Full Code Here

   */

  public CoordinatorId identifier () throws NoActivityException,
      SystemException
  {
    ActivityImple curr = current();

    if (curr == null)
      throw new NoActivityException();

    return _coordManager.identifier();
View Full Code Here

     * @see com.arjuna.mw.wsas.status.Status
     */

    public com.arjuna.mw.wsas.status.Status status () throws SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      return NoActivity.instance();
 
  return _coordManager.status();
View Full Code Here

     * @return the unique coordinator identifier.
     */

    public CoordinatorId identifier () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _coordManager.identifier();
View Full Code Here

     * @see com.arjuna.mw.wsas.Outcome
     */

    public Outcome coordinate () throws WrongStateException, ProtocolViolationException, NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _theCoordinatorService.coordinate(curr.getCompletionStatus());
    }
View Full Code Here

     * @see com.arjuna.mw.wsas.Outcome
     */

    public Outcome coordinate (CompletionStatus cs) throws WrongStateException, ProtocolViolationException, NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  curr.completionValid(cs);
 
  return _theCoordinatorService.coordinate(cs);
    }
View Full Code Here

     * @return Qualifier[] qualifiers The qualifiers.
     */

    public Qualifier[] qualifiers () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _theCoordinatorService.qualifiers();
View Full Code Here

     * @return the unique coordinator identifier.
     */

    public CoordinatorId identifier () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _theCoordinatorService.identifier();
View Full Code Here

TOP

Related Classes of com.arjuna.mwlabs.wsas.activity.ActivityImple

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.