You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by rg...@apache.org on 2005/06/16 17:26:01 UTC

svn commit: r190935 - /ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs

Author: rgrabowski
Date: Thu Jun 16 08:26:01 2005
New Revision: 190935

URL: http://svn.apache.org/viewcvs?rev=190935&view=rev
Log:
Changed text of Obsolete attributes to recommend using DomDaoManagerBuilder.Configure instead of DomSqlMapBuilder.Configure.

Modified:
    ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs?rev=190935&r1=190934&r2=190935&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs Thu Jun 16 08:26:01 2005
@@ -226,7 +226,7 @@
 		/// Configure an DaoManager from via the default file config.
 		/// (accesd as relative ressource path from your Application root)
 		/// </summary>
-		[Obsolete("This method will be remove in future version, use DomSqlMapBuilder.Configure.", false)]
+		[Obsolete("This method will be removed in a future version, use DomDaoManagerBuilder.Configure.", false)]
 		public static void Configure()
 		{
 			Configure( DomDaoManagerBuilder.DEFAULT_FILE_CONFIG_NAME );
@@ -239,7 +239,7 @@
 		/// <param name="resource">
 		/// A relative ressource path from your Application root.
 		/// </param>
-		[Obsolete("This method will be remove in future version, use DomSqlMapBuilder.Configure.", false)]
+		[Obsolete("This method will be removed in a future version, use DomDaoManagerBuilder.Configure.", false)]
 		public static void Configure(string resource)
 		{
 			XmlDocument document = Resources.GetResourceAsXmlDocument( resource );
@@ -254,7 +254,7 @@
 		/// <param name="configureDelegate">
 		/// Delegate called when a file is changed to rebuild the 
 		/// </param>
-		[Obsolete("This method will be remove in future version, use DomSqlMapBuilder.Configure.", false)]
+		[Obsolete("This method will be removed in a future version, use DomDaoManagerBuilder.Configure.", false)]
 		public static void ConfigureAndWatch(ConfigureHandler configureDelegate)
 		{
 			ConfigureAndWatch( DomDaoManagerBuilder.DEFAULT_FILE_CONFIG_NAME, configureDelegate );
@@ -271,7 +271,7 @@
 		///<param name="configureDelegate">
 		/// Delegate called when the file has changed, to rebuild the dal.
 		/// </param>
-		[Obsolete("This method will be remove in future version, use DomSqlMapBuilder.Configure.", false)]
+		[Obsolete("This method will be removed in a future version, use DomDaoManagerBuilder.Configure.", false)]
 		public static void ConfigureAndWatch(string resource, ConfigureHandler configureDelegate)
 		{
 			ConfigWatcherHandler.ClearFilesMonitored();
@@ -280,13 +280,13 @@
 			XmlDocument document = Resources.GetConfigAsXmlDocument( resource );
 			new DomDaoManagerBuilder().BuildDaoManagers( document, true );
 
-			TimerCallback callBakDelegate = new TimerCallback( DomDaoManagerBuilder.OnConfigFileChange );
+			TimerCallback callBackDelegate = new TimerCallback( DomDaoManagerBuilder.OnConfigFileChange );
 
 			StateConfig state = new StateConfig();
 			state.FileName = resource;
 			state.ConfigureHandler = configureDelegate;
 
-			new ConfigWatcherHandler( callBakDelegate, state );
+			new ConfigWatcherHandler( callBackDelegate, state );
 		}
 
 		#endregion