Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop/Aop/Framework
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv6762/Framework
Modified Files:
AopUtils.cs IAdvised.cs
Log Message:
make exception handling of expressions in exception advice more robuts
remove ITargetTypeAware - requires more changes to internal AOP infrastructure - not worth the effort for this convenience
removed files that were moved to another namespace (AbstractExceptionHander/IExceptionHandler)
Index: IAdvised.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop/Aop/Framework/IAdvised.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** IAdvised.cs 8 Oct 2007 22:04:50 -0000 1.14
--- IAdvised.cs 10 Oct 2007 18:07:38 -0000 1.15
***************
*** 51,55 ****
/// <seealso cref="Spring.Aop.Framework.AdvisedSupport"/>
[ProxyIgnore]
! public interface IAdvised : ITargetTypeAware
{
/// <summary>
--- 51,55 ----
/// <seealso cref="Spring.Aop.Framework.AdvisedSupport"/>
[ProxyIgnore]
! public interface IAdvised
{
/// <summary>
Index: AopUtils.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop/Aop/Framework/AopUtils.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AopUtils.cs 8 Oct 2007 22:04:50 -0000 1.3
--- AopUtils.cs 10 Oct 2007 18:07:38 -0000 1.4
***************
*** 255,261 ****
{
AssertUtils.ArgumentNotNull(candidate,"candidate", "Candidate object must not be null");
! if (candidate is ITargetTypeAware)
{
! return ((ITargetTypeAware) candidate).TargetType;
}
if (IsDecoratorAopProxy(candidate))
--- 255,265 ----
{
AssertUtils.ArgumentNotNull(candidate,"candidate", "Candidate object must not be null");
! if (candidate is ITargetSource)
{
! return ((ITargetSource) candidate).TargetType;
! }
! if (candidate is IAdvised)
! {
! return ((IAdvised) candidate).TargetSource.TargetType;
}
if (IsDecoratorAopProxy(candidate))
|