ch.elca.el4j.tests.services.remoting.loadbalancing.common
Class BusinessObjectImpl

java.lang.Object
  extended by ch.elca.el4j.tests.services.remoting.loadbalancing.common.BusinessObjectImpl
All Implemented Interfaces:
BusinessObject, ApplicationContextAware

public class BusinessObjectImpl
extends Object
implements BusinessObject, ApplicationContextAware

Defines a dummy business object whose sole purpose is the illustration of the idempotent invocation functionality.

Author:
Stefan Pleisch (SPL)
File-location:
BusinessObjectImpl
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Field Summary
private  ApplicationContext m_applicationContext
           
private  String m_serverName
           
private static org.slf4j.Logger s_logger
          Private logger.
 
Fields inherited from interface ch.elca.el4j.tests.services.remoting.loadbalancing.common.BusinessObject
COMMIT_SUICIDE
 
Constructor Summary
BusinessObjectImpl()
           
 
Method Summary
 String call(String toto)
          Stores the name-value pair toto-toto in the DB and returns toto.
 void setApplicationContext(ApplicationContext applicationContext)
          
 void setServerName(String serverName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_serverName

private String m_serverName

m_applicationContext

private ApplicationContext m_applicationContext

s_logger

private static org.slf4j.Logger s_logger
Private logger.

Constructor Detail

BusinessObjectImpl

public BusinessObjectImpl()
Method Detail

call

public String call(String toto)
Stores the name-value pair toto-toto in the DB and returns toto.

Specified by:
call in interface BusinessObject

setServerName

public void setServerName(String serverName)

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)

Specified by:
setApplicationContext in interface ApplicationContextAware


Copyright © 2005-2011 ELCA. All Rights Reserved.