edu.internet2.middleware.grouperClient.failover
Class FailoverLogicBean

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.failover.FailoverLogicBean

public class FailoverLogicBean
extends java.lang.Object

bean in callback for failover logic

Author:
mchyzer

Constructor Summary
FailoverLogicBean()
          failover logic bean
FailoverLogicBean(boolean runningInNewThread1, java.lang.String connectionName1, boolean isLastConnection)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailoverLogicBean

public FailoverLogicBean()
failover logic bean


FailoverLogicBean

public FailoverLogicBean(boolean runningInNewThread1,
                         java.lang.String connectionName1,
                         boolean isLastConnection)
Parameters:
runningInNewThread1 -
connectionName1 -
isLastConnection -
Method Detail

isLastConnection

public boolean isLastConnection()
true if this is the last connection in the list of connections to try

Returns:
true if this is the last connection

setLastConnection

public void setLastConnection(boolean lastConnection1)
true if this is the last connection in the list of connections to try

Parameters:
lastConnection1 -

isRunningInNewThread

public boolean isRunningInNewThread()
if it is running in new thread

Returns:
if it is running in new thread

setRunningInNewThread

public void setRunningInNewThread(boolean runningInNewThread1)
if it is running in new thread

Parameters:
runningInNewThread1 -

getConnectionName

public java.lang.String getConnectionName()
the connection name which is running

Returns:
the connection name which is running

setConnectionName

public void setConnectionName(java.lang.String connectionName1)
the connection name which is running

Parameters:
connectionName1 -