1 22 package org.jboss.tm; 23 24 import org.jboss.tm.remoting.interfaces.Coordinator; 25 26 32 public interface OTSContextFactory 33 { 34 52 Object createOTSContext(int formatId, 53 byte[] globalId, 54 Coordinator coordinator); 55 56 72 Object createOTSContext(int formatId, 73 byte[] globalId, 74 long coordinatorLocalId); 75 76 82 void setTimeout(Object otsContext, int timeout); 83 84 } 85 | Popular Tags |