Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1153

Arquillian Containers should expose a Context(Initial) to Core

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Duplicate
    • Major
    • Awaiting Volunteers
    • 7.0.0.CR1
    • Test Suite
    • None

    Description

      If the Container provide a InitialContext to Arquillian, the TestEnrichers like @EJB and @Resource can operate in Client mode. e.g. to lookup Remote EJBs or Remotable Resources in JNDI.

      @Inject @ContainerScoped
      private InstanceProducer<Context> contextInst;

      container.start() {
      contextInst.set(createInitialContext());
      }

      Attachments

        Issue Links

          Activity

            People

              arubinge@redhat.com Andrew Rubinger (Inactive)
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: