1 /******************************************************************************* 2 * Copyright (c) 2005, 2006 Imola Informatica. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the LGPL License v2.1 5 * which accompanies this distribution, and is available at 6 * http://www.gnu.org/licenses/lgpl.html 7 *******************************************************************************/ 8 /** 9 * 10 */ 11 package it.imolinfo.jbi4cics.connection; 12 13 import it.imolinfo.jbi4cics.exception.ConnectionException; 14 import it.imolinfo.jbi4cics.service.ServiceContext; 15 16 /** 17 * @author raffaele 18 * 19 */ 20 public class EchoConnectionManager implements ConnectionManager { 21 22 /** 23 * void constructor. 24 */ 25 public EchoConnectionManager(){ 26 super(); 27 } 28 29 /* (non-Javadoc) 30 * @see it.imolinfo.jbi4cics.connection.ConnectionManager#handleCall(it.imolinfo.jbi4cics.service.ServiceContext) 31 */ 32 public void handleCall(ServiceContext serviceContext) throws ConnectionException { 33 serviceContext.setOutputMessage(serviceContext.getInputMessage()); 34 } 35 36 }