config/provider-config.xml
changeset 1929 ad0353d93b0f
child 6701 690d2af86089
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config/provider-config.xml	Wed Nov 12 13:14:11 2008 +0000
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo Public License 
+ * Version 1.1 (the "License"), being the Mozilla Public License 
+ * version 1.1  with a permitted attribution clause ; you may not use 
+ * this file except in compliance with the License. 
+ * You may obtain a copy of the License at  
+ * http://www.openbravo.com/legal/license.txt 
+ * Software distributed under the License is distributed on an 
+ * "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or 
+ * implied. See the License for the specific language governing rights 
+ * and  limitations under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SL 
+ * All portions are Copyright (C) 2005-2008 Openbravo SL 
+ * All Rights Reserved. 
+ * Contributor(s): Openbravo S.L.
+ ************************************************************************
+-->
+
+<!-- 
+     This file configures the OBProvider ServiceLocator/Factory to 
+     use specific classes at runtime to implement certain functionality.
+     
+     Each runtime class is configured using a bean tag. The bean tag
+     contains the name of the bean, the runtime class which should be
+     used and if the bean is a singleton or not. 
+     The bean name is often equal to the name of the standard OpenBravo
+     class which is replaced by the bean configured here.
+-->
+
+<provider>
+
+	<bean>
+		<name>dal</name>
+		<class>org.openbravo.service.rest.DalWebService</class>
+		<singleton>true</singleton>
+	</bean>
+
+</provider>