[jboss-jira] [JBoss JIRA] (AS7-1153) Arquillian Containers should expose a Context(Initial) to Core
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Jan 18 05:36:21 EST 2012
[ https://issues.jboss.org/browse/AS7-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger closed AS7-1153.
--------------------------------
Assignee: Andrew Rubinger
Resolution: Duplicate Issue
Pull request in linked AS7-3111
> Arquillian Containers should expose a Context(Initial) to Core
> --------------------------------------------------------------
>
> Key: AS7-1153
> URL: https://issues.jboss.org/browse/AS7-1153
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Test Suite
> Affects Versions: 7.0.0.CR1
> Reporter: Aslak Knutsen
> Assignee: Andrew Rubinger
> Fix For: Open To Community
>
>
> 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());
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list