Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1505

Support using Proxyied Objects as Factory Objects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.3.2
    • Fix Version/s: 2.0 M1
    • Component/s: Spring-NET-CORE
    • Labels:
      None

      Description

      Spring/Spring.Core/Objects/Factory/Support/ConstructorResolver.InstantiateUsingFactoryMethod(...) does not presently take into consideration the possibility that the FactoryObject might be proxied when attempting to resolve the FactoryMethod. We need to a) tests for the presence of the proxy and then b) attempt to cast the FactoryObject into each of the proxy interfaces when we attempt to resolve the specificed FactoryMethod.

        Attachments

          Activity

            People

            • Assignee:
              sbohlen Steve Bohlen
              Reporter:
              sbohlen Steve Bohlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: