[jboss-jira] [JBoss JIRA] (AS7-1153) Arquillian Containers should expose a Context(Initial) to Core
Jason Greene (Updated) (JIRA)
jira-events at lists.jboss.org
Thu Nov 3 17:53:45 EDT 2011
[ https://issues.jboss.org/browse/AS7-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene updated AS7-1153:
------------------------------
Fix Version/s: Open To Community
> 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
> 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