- /// Only interfaces can be proxied using composition, so the target - /// must implement one or more interfaces. - ///
- ///+ /// Only interfaces can be proxied using composition, so the target + /// must implement one or more interfaces. + ///
+ ///
- /// internal class SpringServicedComponent
+ /// internal class SpringServicedComponent: BaseType
/// {
/// protected delegate object GetObjectHandler(ServicedComponent servicedComponent, string targetName);
///
@@ -433,11 +493,16 @@ namespace Spring.EnterpriseServices
/// }
///
///
+ /// class MyServicedComponent {
+ /// void MethodX() {
+ /// ContextRegistry.GetContext().GetObject("TargetName").MethodX();
+ /// }
+ /// }
+ ///
+ ///
+ /// class MyServicedComponent {
+ /// TargetType target = new TargetType();
+ ///
+ /// void MethodX() {
+ /// target.MethodX();
+ /// }
+ /// }
+ ///
+ ///