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

Arquillian Containers should expose a Context(Initial) to Core

XMLWordPrintable

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

      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());
      }

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

                Created:
                Updated:
                Resolved: