Stefan Seifert created SLING-4434:
-------------------------------------

             Summary: Sling Mock: MockModelAdapterFactory not compatible with 
latest Sling Models Impl
                 Key: SLING-4434
                 URL: https://issues.apache.org/jira/browse/SLING-4434
             Project: Sling
          Issue Type: Improvement
          Components: Testing
    Affects Versions: Testing Sling Mock 1.1.2
            Reporter: Stefan Seifert
            Assignee: Stefan Seifert
            Priority: Minor
             Fix For: Testing Sling Mock 1.1.4


the current sling mock MockModelAdapterFactory implementation is not compatible 
with the latest sling models implementation because it does not support 
InjectAnnotationProcessorFactory2 and StaticInjectAnnotationProcessorFactory 
interfaces.

a better solution than the current hard-wired mock wiring of injectors would be 
to enhance the osgi mock and bind/unbind them dynamically, then the new 
interfaces would be supported as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to