config/provider-config.xml
changeset 1929 ad0353d93b0f
child 6702 690d2af86089
equal deleted inserted replaced
1928:34cae22c29f7 1929:ad0353d93b0f
       
     1 <?xml version="1.0" encoding="UTF-8" ?>
       
     2 <!--
       
     3  *************************************************************************
       
     4  * The contents of this file are subject to the Openbravo Public License 
       
     5  * Version 1.1 (the "License"), being the Mozilla Public License 
       
     6  * version 1.1  with a permitted attribution clause ; you may not use 
       
     7  * this file except in compliance with the License. 
       
     8  * You may obtain a copy of the License at  
       
     9  * http://www.openbravo.com/legal/license.txt 
       
    10  * Software distributed under the License is distributed on an 
       
    11  * "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or 
       
    12  * implied. See the License for the specific language governing rights 
       
    13  * and  limitations under the License. 
       
    14  * The Original Code is Openbravo ERP. 
       
    15  * The Initial Developer of the Original Code is Openbravo SL 
       
    16  * All portions are Copyright (C) 2005-2008 Openbravo SL 
       
    17  * All Rights Reserved. 
       
    18  * Contributor(s): Openbravo S.L.
       
    19  ************************************************************************
       
    20 -->
       
    21 
       
    22 <!-- 
       
    23      This file configures the OBProvider ServiceLocator/Factory to 
       
    24      use specific classes at runtime to implement certain functionality.
       
    25      
       
    26      Each runtime class is configured using a bean tag. The bean tag
       
    27      contains the name of the bean, the runtime class which should be
       
    28      used and if the bean is a singleton or not. 
       
    29      The bean name is often equal to the name of the standard OpenBravo
       
    30      class which is replaced by the bean configured here.
       
    31 -->
       
    32 
       
    33 <provider>
       
    34 
       
    35 	<bean>
       
    36 		<name>dal</name>
       
    37 		<class>org.openbravo.service.rest.DalWebService</class>
       
    38 		<singleton>true</singleton>
       
    39 	</bean>
       
    40 
       
    41 </provider>