diff --git a/src/Spring/Spring.Aop/Aop/Framework/ProxyFactory.cs b/src/Spring/Spring.Aop/Aop/Framework/ProxyFactory.cs
index 9a8c4f73..bc4c9e8a 100644
--- a/src/Spring/Spring.Aop/Aop/Framework/ProxyFactory.cs
+++ b/src/Spring/Spring.Aop/Aop/Framework/ProxyFactory.cs
@@ -75,7 +75,36 @@ namespace Spring.Aop.Framework
/// The interfaces to implement.
public ProxyFactory(Type[] interfaces) : base(interfaces)
{
- }
+ }
+
+ ///
+ /// Creates a new instance of the class for the
+ /// given interface and interceptor.
+ ///
+ /// Convenience method for creating a proxy for a single interceptor
+ /// , assuming that the interceptor handles all calls itself rather than delegating
+ /// to a target, like in the case of remoting proxies.
+ /// The interface that the proxy should implement.
+ /// The interceptor that the proxy should invoke.
+ public ProxyFactory(Type proxyInterface, IInterceptor interceptor)
+ {
+ AddInterface(proxyInterface);
+ AddAdvice(interceptor);
+ }
+
+
+ ///
+ /// Create a new instance of the class for the specified
+ /// making the proxy implement the specified interface.
+ ///
+ ///
+ /// The interface that the proxy should implement.
+ /// The target source that the proxy should invoek.
+ public ProxyFactory(Type proxyInterface, ITargetSource targetSource)
+ {
+ AddInterface(proxyInterface);
+ TargetSource = targetSource;
+ }
///
/// Creates a new proxy according to the settings in this factory.