ch.elca.el4j.tests.services.remoting.loadbalancing.client.roundrobin
Class LbRoundRobinTest

java.lang.Object
  extended by ch.elca.el4j.tests.services.remoting.loadbalancing.client.roundrobin.LbRoundRobinTest

public class LbRoundRobinTest
extends Object

This class tests the idempotent invocation interceptor that handles retrials by itself.

Author:
Stefan Pleisch (SPL)
File-location:
LbRoundRobinTest
Last check-in date:
2009-08-04 15:13:46 +0200 (Di, 04. Aug 2009) by swismer for revision 3879

Field Summary
private  ApplicationContext m_applicationContext
           
private  BusinessObject m_obj
           
private static org.slf4j.Logger s_logger
          Private logger.
private static String ServerNameAndPort1
          Define the server names and ports to connect to
private static String ServerNameAndPort2
           
private static String ServerNameAndPort3
           
 
Constructor Summary
LbRoundRobinTest()
           
 
Method Summary
protected  String[] getInclusiveConfigLocations()
          
protected  org.slf4j.Logger getLog()
           
protected  BusinessObject getTestObj()
           
protected  void runTest()
          
 void testNextProtocol()
          Tests whether the server/DB properly abort the transaction upon reception of a special flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ServerNameAndPort1

private static final String ServerNameAndPort1
Define the server names and ports to connect to

See Also:
Constant Field Values

ServerNameAndPort2

private static final String ServerNameAndPort2
See Also:
Constant Field Values

ServerNameAndPort3

private static final String ServerNameAndPort3
See Also:
Constant Field Values

s_logger

private static org.slf4j.Logger s_logger
Private logger.


m_applicationContext

private ApplicationContext m_applicationContext

m_obj

private BusinessObject m_obj
Constructor Detail

LbRoundRobinTest

public LbRoundRobinTest()
Method Detail

testNextProtocol

public void testNextProtocol()
Tests whether the server/DB properly abort the transaction upon reception of a special flag.

See Also:
#THROW_IDEMPOTENTINVOCATION_EXCEPTION

runTest

protected void runTest()


getInclusiveConfigLocations

protected String[] getInclusiveConfigLocations()


getLog

protected org.slf4j.Logger getLog()

getTestObj

protected BusinessObject getTestObj()


Copyright © 2005-2011 ELCA. All Rights Reserved.