Resolve issue because of failing AOP Serialization test

This commit is contained in:
Thomas Trageser
2012-09-03 12:18:57 +01:00
parent 1261b223ff
commit 86fad25040
2 changed files with 3 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ namespace Spring.Objects.Factory.Attributes
/// against <see cref="QualifierAttribute"/> on the field or parameter to be autowired.
/// Also supports suggested expression values through a <see cref="ValueAttribute"/> attribute.
/// </summary>
[Serializable]
public class QualifierAnnotationAutowireCandidateResolver : IAutowireCandidateResolver, IObjectFactoryAware
{
private IObjectFactory _objectFactory;

View File

@@ -18,6 +18,7 @@
#endregion
using System;
using Spring.Core;
namespace Spring.Objects
@@ -27,6 +28,7 @@ namespace Spring.Objects
/// holding attributes as <see cref="IObjectMetadataElement"/> objects in order
/// to keep track of the definition source.
/// </summary>
[Serializable]
public class ObjectMetadataAttributeAccessor : AttributeAccessorSupport, IObjectMetadataElement
{
private object _source;