com.sun.enterprise.connectors.jms.inflow
Class MdbContainerProps

java.lang.Object
  extended by com.sun.enterprise.connectors.jms.inflow.MdbContainerProps

public final class MdbContainerProps
extends java.lang.Object

Represents the properties of MDBContainer.

Author:
Binod P.G

Constructor Summary
MdbContainerProps()
           
 
Method Summary
static int getMaxRuntimeExceptions()
          Retrives the max runtime exception that are allowed.
static int getReconnectDelay()
          Retrieves the reconnect delay in seconds.
static boolean getReconnectEnabled()
          Gets reconnect enabled flag.
static int getReconnectMaxRetries()
          Gets the reconnect max retries.
static void setMaxRuntimeExceptions(int v)
          Sets the max runtime exception that are allowed.
static void setReconnectDelay(int v)
          Sets the reconnect delay in seconds.
static void setReconnectEnabled(boolean v)
          Sets reconnect enabled flag.
static void setReconnectMaxRetries(int v)
          Sets the reconnect max retries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MdbContainerProps

public MdbContainerProps()
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.


Copyright © 2012 GlassFish Community. All Rights Reserved.