View Javadoc

1    /****************************************************************************
2    * Copyright (c) 2005, 2006, 2007, 2008, 2009 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   package it.imolinfo.jbi4corba.jbi.wsdl;
9   
10  
11  import java.util.Map;
12  
13  import com.ibm.wsdl.extensions.PopulatedExtensionRegistry;
14  
15  /**
16   * Jbi4CorbaExtensionRegistry.
17   * @author <a href="mailto:mpiraccini@imolinfo.it">Marco Piraccini</a>
18   */
19  public class Jbi4CorbaExtensionRegistry extends PopulatedExtensionRegistry {
20      private static final long serialVersionUID = 1L;
21  
22      /** Creates a new instance of Jbi4CorbaExtensionRegistry */
23     public Jbi4CorbaExtensionRegistry(Jbi4CorbaAddressDeserializer serializer) {
24         super();
25         Jbi4CorbaExtension.register(this);
26         Jbi4CorbaExtension.overrideAddressDeserializer(this, serializer);
27         
28      }
29  
30      /** Creates a new instance of Jbi4CorbaExtensionRegistry */
31       public Jbi4CorbaExtensionRegistry(Map<String, String[]> envVarConfigMap) {
32          super();
33          Jbi4CorbaAddressDeserializer jbiExtSerializer = new Jbi4CorbaAddressDeserializer(envVarConfigMap);
34          Jbi4CorbaExtension.register(this);
35  		Jbi4CorbaExtension.overrideAddressDeserializer(this, jbiExtSerializer);
36      }     
37  
38  }