Fix TypeNameAutoProxyCreator to use <list/> element for the TypeNames property [SPRNET-1184]
This commit is contained in:
@@ -41,7 +41,14 @@ namespace Spring.Aop.Framework.AutoProxy
|
||||
///</summary>
|
||||
public string[] TypeNames
|
||||
{
|
||||
get { return _typeNameFilter.TypeNamePatterns; }
|
||||
get
|
||||
{
|
||||
if (_typeNameFilter != null)
|
||||
{
|
||||
return _typeNameFilter.TypeNamePatterns;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
set
|
||||
{
|
||||
AssertUtils.ArgumentNotNull(value, "TypeNames");
|
||||
@@ -55,8 +62,8 @@ namespace Spring.Aop.Framework.AutoProxy
|
||||
/// <remarks>
|
||||
/// Override this method to allow or reject proxying for the given object.
|
||||
/// </remarks>
|
||||
/// <param name="targetType">the object's type</param>
|
||||
/// <param name="targetName">the name of the object</param>
|
||||
/// <param name="targetType">the object's type</param>
|
||||
/// <param name="targetName">the name of the object</param>
|
||||
/// <seealso cref="AbstractAutoProxyCreator.ShouldSkip"/>
|
||||
/// <returns>whether the given object shall be proxied.</returns>
|
||||
protected override bool IsEligibleForProxying(Type targetType, string targetName)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user