1 22 package org.jboss.tm.iiop.wrapper; 23 24 import org.jboss.tm.remoting.interfaces.Status; 25 26 34 public class Util 35 { 36 private Util() 38 { 39 } 40 41 48 public static final org.omg.CosTransactions.Status jbossToCosTransactions(Status s) 49 { 50 return org.omg.CosTransactions.Status.from_int(s.toInteger()); 51 } 52 53 61 public static final Status cosTransactionsToJBoss(org.omg.CosTransactions.Status s) 62 { 63 return Status.fromInteger(s.value()); 64 } 65 } 66 | Popular Tags |