com.atomikos.icatch
Class StringHeuristicMessage

java.lang.Object
  extended by com.atomikos.icatch.StringHeuristicMessage
All Implemented Interfaces:
HeuristicMessage, Serializable

public class StringHeuristicMessage
extends Object
implements HeuristicMessage

A heuristic message implementation.

See Also:
Serialized Form

Field Summary
protected  String string_
           
 
Constructor Summary
StringHeuristicMessage(String string)
          Constructor.
 
Method Summary
 String toString()
          Get the description of the heuristically terminated work.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

string_

protected String string_
Constructor Detail

StringHeuristicMessage

public StringHeuristicMessage(String string)
Constructor.

Parameters:
string - The message as a string.
Method Detail

toString

public String toString()
Description copied from interface: HeuristicMessage
Get the description of the heuristically terminated work.

Specified by:
toString in interface HeuristicMessage
Overrides:
toString in class Object
Returns:
String the description in string format.
See Also:
HeuristicMessage


Copyright © 2011. All Rights Reserved.