FileDocCategorySizeDatePackage
MdbContainerProps.javaAPI DocGlassfish v2 API3941Fri May 04 22:34:24 BST 2007com.sun.enterprise.connectors.inflow

MdbContainerProps

public final class MdbContainerProps extends Object
Represents the properties of MDBContainer.
author
Binod P.G

Fields Summary
private static int
cmtMaxRuntimeExceptions
private static int
reconnectDelayInSeconds
private static int
reconnectMaxRetries
private static boolean
reconnectEnabled
Constructors Summary
Methods Summary
public static synchronized intgetMaxRuntimeExceptions()
Retrives the max runtime exception that are allowed.

return
int value

        return cmtMaxRuntimeExceptions;
    
public static synchronized intgetReconnectDelay()
Retrieves the reconnect delay in seconds.

return
int value

        return reconnectDelayInSeconds;
    
public static synchronized booleangetReconnectEnabled()
Gets reconnect enabled flag.

return
boolean indicating whether reconnect is enabled or not.

        return reconnectEnabled;
    
public static synchronized intgetReconnectMaxRetries()
Gets the reconnect max retries.

return
int value

        return reconnectMaxRetries;
    
public static synchronized voidsetMaxRuntimeExceptions(int v)
Sets the max runtime exception that are allowed.

param
v value.

        cmtMaxRuntimeExceptions = v;
    
public static synchronized voidsetReconnectDelay(int v)
Sets the reconnect delay in seconds.

param
v value.

        reconnectDelayInSeconds = v;
    
public static synchronized voidsetReconnectEnabled(boolean v)
Sets reconnect enabled flag.

param
v value.

        reconnectEnabled = v;
    
public static synchronized voidsetReconnectMaxRetries(int v)
Sets the reconnect max retries.

param
v value.

        reconnectMaxRetries = v;