Axiom
  1. Axiom
  2. AXIOM-304

Make OMAbstractFactory work correctly in an OSGi runtime environment

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.9
    • Component/s: None
    • Labels:
      None

      Description

      Solution proposed by David Illsley:

      "I suspect the implementation bundles should register the factories as
      OSGI services and the api bundle should access the implementation
      through the service. The difficulty here is avoiding a runtime
      dependency on OSGI framework classes, but I think that should be
      doable using an injection approach where the api bundle activator
      injects a non-OSGI class into the OMAbstractFactory if OSGI services
      are in use."

      For more details see: http://markmail.org/message/nmpyxefndcnqoc2s

        Activity

        Hide
        Andreas Veithen added a comment -

        OSGi support is now finalized.

        Show
        Andreas Veithen added a comment - OSGi support is now finalized.
        Hide
        Andreas Veithen added a comment -

        I had to revert one small part of David's OSGIification patch (r741656), namely a change in StAXUtils, because this change breaks Axiom on Java 1.6 (see WSCOMMONS-457).

        Show
        Andreas Veithen added a comment - I had to revert one small part of David's OSGIification patch (r741656), namely a change in StAXUtils, because this change breaks Axiom on Java 1.6 (see WSCOMMONS-457 ).

          People

          • Assignee:
            Andreas Veithen
            Reporter:
            Andreas Veithen
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development