Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv30886/Support
Modified Files:
AbstractAutowireCapableObjectFactory.cs
AbstractObjectFactory.cs
Log Message:
fixed final missing comments
Index: AbstractAutowireCapableObjectFactory.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support/AbstractAutowireCapableObjectFactory.cs,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** AbstractAutowireCapableObjectFactory.cs 22 Aug 2007 08:49:39 -0000 1.80
--- AbstractAutowireCapableObjectFactory.cs 28 Aug 2007 14:16:40 -0000 1.81
***************
*** 31,34 ****
--- 31,35 ----
using Spring.Core.TypeConversion;
using Spring.Core.TypeResolution;
+ using Spring.Objects;
using Spring.Objects.Factory.Config;
using Spring.Objects.Support;
***************
*** 868,871 ****
--- 869,880 ----
}
+ /// <summary>
+ /// Creates an <see cref="IObjectWrapper"/> instance from the <see cref="RootObjectDefinition"/> passed in <paramref name="definition"/>
+ /// using constructor <paramref name="arguments"/>
+ /// </summary>
+ /// <param name="name">The name of the object to create - used for error messages.</param>
+ /// <param name="definition">The <see cref="RootObjectDefinition"/> describing the object to be created.</param>
+ /// <param name="arguments">optional arguments to pass to the constructor</param>
+ /// <returns>An <see cref="IObjectWrapper"/> wrapping the already instantiated object</returns>
protected IObjectWrapper CreateObjectInstance(string name, RootObjectDefinition definition, object[] arguments)
{
***************
*** 1840,1843 ****
--- 1849,1857 ----
}
+ /// <summary>
+ /// Resolve the target type of the passed <see cref="TypedStringValue"/>.
+ /// </summary>
+ /// <param name="value">The <see cref="TypedStringValue"/> who's target type is to be resolved</param>
+ /// <returns>The resolved target type, if any. <see lang="null" /> otherwise.</returns>
protected virtual Type ResolveTargetType(TypedStringValue value)
{
Index: AbstractObjectFactory.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support/AbstractObjectFactory.cs,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** AbstractObjectFactory.cs 22 Aug 2007 08:49:39 -0000 1.69
--- AbstractObjectFactory.cs 28 Aug 2007 14:16:40 -0000 1.70
***************
*** 174,178 ****
}
!
protected bool HasInstantiationAwareBeanPostProcessors
{
--- 174,180 ----
}
! /// <summary>
! /// Returns, whether this object factory instance contains <see cref="IInstantiationAwareObjectPostProcessor"/> objects.
! /// </summary>
protected bool HasInstantiationAwareBeanPostProcessors
{
***************
*** 180,183 ****
--- 182,188 ----
}
+ /// <summary>
+ /// Returns, whether this object factory instance contains <see cref="IDestructionAwareObjectPostProcessor"/> objects.
+ /// </summary>
protected bool HasDestructionAwareBeanPostProcessors
{
***************
*** 455,458 ****
--- 460,468 ----
}
+ /// <summary>
+ /// Ensures, that the given name is prefixed with <see cref="ObjectFactoryUtils.FactoryObjectPrefix"/>
+ /// if it incidentially already starts with this prefix. This avoids troubles when dereferencing
+ /// the object name during <see cref="ObjectFactoryUtils.TransformedObjectName"/>
+ /// </summary>
protected string OriginalObjectName(string name)
{
|