1 17 18 package org.apache.geronimo.transaction; 19 20 import java.util.Map ; 21 import java.util.Set ; 22 23 29 public interface InstanceContext { 30 Object getId(); 31 32 Object getContainerId(); 33 34 void associate() throws Throwable ; 35 36 void flush() throws Throwable ; 37 38 void beforeCommit() throws Throwable ; 39 40 void afterCommit(boolean status) throws Throwable ; 41 42 void unassociate() throws Throwable ; 43 44 48 Map getConnectionManagerMap(); 49 50 Set getUnshareableResources(); 51 52 Set getApplicationManagedSecurityResources(); 53 54 boolean isInCall(); 55 56 void enter(); 57 58 void exit(); 59 60 boolean isDead(); 61 62 void die(); 63 } 64 | Popular Tags |