public class FailoverLogicBean
extends java.lang.Object
Constructor and Description |
---|
FailoverLogicBean()
failover logic bean
|
FailoverLogicBean(boolean runningInNewThread1,
java.lang.String connectionName1,
boolean isLastConnection) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectionName()
the connection name which is running
|
boolean |
isLastConnection()
true if this is the last connection in the list of connections to try
|
boolean |
isRunningInNewThread()
if it is running in new thread
|
void |
setConnectionName(java.lang.String connectionName1)
the connection name which is running
|
void |
setLastConnection(boolean lastConnection1)
true if this is the last connection in the list of connections to try
|
void |
setRunningInNewThread(boolean runningInNewThread1)
if it is running in new thread
|
public FailoverLogicBean()
public FailoverLogicBean(boolean runningInNewThread1, java.lang.String connectionName1, boolean isLastConnection)
runningInNewThread1
- connectionName1
- isLastConnection
- public boolean isLastConnection()
public void setLastConnection(boolean lastConnection1)
lastConnection1
- public boolean isRunningInNewThread()
public void setRunningInNewThread(boolean runningInNewThread1)
runningInNewThread1
- public java.lang.String getConnectionName()
public void setConnectionName(java.lang.String connectionName1)
connectionName1
-