tyrex.tm.impl

Class ResourceImpl

public final class ResourceImpl extends _ResourceImplBase implements Resource

Implements an OTS interface on top of TransactionImpl so we can register a local transaction as a resource in a global transaction. Requires that we use the OTS Java/IDL mapping.

Version: $Revision: 1.2 $ $Date: 2001/03/12 19:20:20 $

Author: Assaf Arkin

Constructor Summary
ResourceImpl(TransactionImpl tx)
Construct a new OTS resource for the underlying transaction object.
Method Summary
voidcommit()
voidcommit_one_phase()
booleanequals(Object other)
voidforget()
inthashCode()
Voteprepare()
voidrollback()
StringtoString()

Constructor Detail

ResourceImpl

ResourceImpl(TransactionImpl tx)
Construct a new OTS resource for the underlying transaction object. The transaction must have been created as a subordinate with the parent transaction's Xid.

Method Detail

commit

public void commit()

commit_one_phase

public void commit_one_phase()

equals

public boolean equals(Object other)

forget

public void forget()

hashCode

public int hashCode()

prepare

public Vote prepare()

rollback

public void rollback()

toString

public String toString()
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.