1 10 11 package org.mule.umo; 12 13 import org.mule.transaction.constraints.ConstraintFilter; 14 15 23 public interface UMOTransactionConfig 24 { 25 byte ACTION_NONE = 0; 26 byte ACTION_ALWAYS_BEGIN = 1; 27 byte ACTION_BEGIN_OR_JOIN = 2; 28 byte ACTION_ALWAYS_JOIN = 3; 29 byte ACTION_JOIN_IF_POSSIBLE = 4; 30 31 UMOTransactionFactory getFactory(); 32 33 void setFactory(UMOTransactionFactory factory); 34 35 byte getAction(); 36 37 void setAction(byte action); 38 39 boolean isTransacted(); 40 41 ConstraintFilter getConstraint(); 42 43 void setConstraint(ConstraintFilter constraint); 44 45 void setTimeout(int timeout); 46 47 int getTimeout(); 48 } 49 | Popular Tags |