config/provider-config.xml
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 12 Nov 2008 13:14:11 +0000
changeset 1929 ad0353d93b0f
child 6701 690d2af86089
permissions -rw-r--r--
Merge back modularity branch to trunk.

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