Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2188

RemoteLoadableExtensions are not loaded by Weld embedded container

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Weld Containers
    • None

      Consider the autodiscover extension showcase:

      https://github.com/arquillian/arquillian-showcase/tree/master/extensions/autodiscover

      This provides things like mockito support for in a container. There's no reason that a feature like this shouldn't work on top of an embedded container like Weld, but it doesn't - it doesn't work if you add the RemoteLoadableExtension to the auxillery archive appender, nor does it work if you put the extension in your own META-INF/services directory, because the Weld container does not load remote loadable extensions.

      I think an embedded container should inspect auxiliary archives to locate any RemoteLoadableExtension's that are registered, and load them. Supporting this would help TCK's to be able to, for example, supply @ArquillianResource resources that work both in embedded and remote containers.

              Unassigned Unassigned
              jamesroper James Roper (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: