1 23 24 package com.sun.ejb.base.sfsb.util; 25 26 import java.lang.reflect.Method ; 27 28 import com.sun.ejb.spi.sfsb.util.CheckpointPolicy; 29 30 33 34 public class CheckpointPolicyImpl 35 implements CheckpointPolicy 36 { 37 38 private boolean haEnabled; 39 40 public CheckpointPolicyImpl(boolean haEnabled) { 41 this.haEnabled = haEnabled; 42 } 43 44 public boolean isHAEnabled() { 45 return haEnabled; 46 } 47 48 public boolean needsCheckpoint(Method method) { 49 return false; 50 } 51 52 } 53 | Popular Tags |