1 23 24 package com.sun.enterprise.connectors.inflow; 25 26 31 public class MdbContainerProps { 32 33 private static int cmtMaxRuntimeExceptions; 34 private static int reconnectDelayInSeconds; 35 private static int reconnectMaxRetries; 36 private static boolean reconnectEnabled; 37 38 43 public static void setMaxRuntimeExceptions(int v){ 44 cmtMaxRuntimeExceptions = v; 45 } 46 47 52 public static int getMaxRuntimeExceptions() { 53 return cmtMaxRuntimeExceptions; 54 } 55 56 61 public static void setReconnectDelay(int v) { 62 reconnectDelayInSeconds = v; 63 } 64 65 70 public static int getReconnectDelay() { 71 return reconnectDelayInSeconds; 72 } 73 74 79 public static void setReconnectMaxRetries(int v) { 80 reconnectMaxRetries = v; 81 } 82 83 88 public static int getReconnectMaxRetries() { 89 return reconnectMaxRetries; 90 } 91 92 97 public static void setReconnectEnabled(boolean v){ 98 reconnectEnabled = v; 99 } 100 101 106 public static boolean getReconnectEnabled() { 107 return reconnectEnabled; 108 } 109 110 } 111 | Popular Tags |