Class MdbContainerProps
- java.lang.Object
-
- com.sun.enterprise.connectors.jms.inflow.MdbContainerProps
-
public final class MdbContainerProps extends Object
Represents the properties of MDBContainer.- Author:
- Binod P.G
-
-
Constructor Summary
Constructors Constructor Description MdbContainerProps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetMaxRuntimeExceptions()Retrives the max runtime exception that are allowed.static intgetReconnectDelay()Retrieves the reconnect delay in seconds.static booleangetReconnectEnabled()Gets reconnect enabled flag.static intgetReconnectMaxRetries()Gets the reconnect max retries.static voidsetMaxRuntimeExceptions(int v)Sets the max runtime exception that are allowed.static voidsetReconnectDelay(int v)Sets the reconnect delay in seconds.static voidsetReconnectEnabled(boolean v)Sets reconnect enabled flag.static voidsetReconnectMaxRetries(int v)Sets the reconnect max retries.
-
-
-
Method Detail
-
setMaxRuntimeExceptions
public static void setMaxRuntimeExceptions(int v)
Sets the max runtime exception that are allowed.- Parameters:
v- value.
-
getMaxRuntimeExceptions
public static int getMaxRuntimeExceptions()
Retrives the max runtime exception that are allowed.- Returns:
- int value
-
setReconnectDelay
public static void setReconnectDelay(int v)
Sets the reconnect delay in seconds.- Parameters:
v- value.
-
getReconnectDelay
public static int getReconnectDelay()
Retrieves the reconnect delay in seconds.- Returns:
- int value
-
setReconnectMaxRetries
public static void setReconnectMaxRetries(int v)
Sets the reconnect max retries.- Parameters:
v- value.
-
getReconnectMaxRetries
public static int getReconnectMaxRetries()
Gets the reconnect max retries.- Returns:
- int value
-
setReconnectEnabled
public static void setReconnectEnabled(boolean v)
Sets reconnect enabled flag.- Parameters:
v- value.
-
getReconnectEnabled
public static boolean getReconnectEnabled()
Gets reconnect enabled flag.- Returns:
- boolean indicating whether reconnect is enabled or not.
-
-