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.configuration;
12
13
14 import it.imolinfo.jbi4cics.service.ServiceContext;
15
16 /**
17 * @author raffaele
18 *
19 */
20 public class DummyServiceContextFactory {
21
22 /**
23 * void constructor.
24 */
25 public DummyServiceContextFactory(){
26 super();
27 }
28
29
30 public static ServiceContext createServiceContext(String serviceName,Object inputBean){
31 ServiceContext serviceContext=new ServiceContext();
32 serviceContext.setInputBean(inputBean);
33 serviceContext.setServiceName(serviceName);
34 return serviceContext;
35 }
36 }