1
2
3
4
5
6
7
8
9
10
11 package it.imolinfo.jbi4cics.configuration;
12
13 import it.imolinfo.jbi4cics.service.ServiceContext;
14
15
16
17
18
19 public class ConfigurationManager {
20
21 private static ConfigurationManager theConfigurationManager;
22
23
24
25
26 public ConfigurationManager(){
27 super();
28 }
29
30
31 public static synchronized ConfigurationManager getConfigurationManager(){
32 if (theConfigurationManager==null) {
33 theConfigurationManager=new ConfigurationManager();
34 }
35 return theConfigurationManager;
36 }
37
38 public ServiceContext createServiceContext(String serviceName,Object input){
39 return DummyServiceContextFactory.createServiceContext(serviceName,input);
40 }
41
42 }