[arquillian-issues] [JBoss JIRA] (ARQ-985) Register the Spring Extension on client side.

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Aug 9 12:38:06 EDT 2012


    [ https://issues.jboss.org/browse/ARQ-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710753#comment-12710753 ] 

Aslak Knutsen commented on ARQ-985:
-----------------------------------

*sigh* Seems the comment i made got lost in a jira black hole..

In a remote container there will be a client side TestScope and a DeploymentScope active as well as a container TestScope. With embedded the deployment generated ApplicationContext should be in DeploymentScope and the client ApplicationContext in TestScope, but the problem is that both of those are active during a TestMethod execution so it'll be 'random' which instance you get. In a remote container this is no problem since you would be executing in a different TestScope located in a different jvm.

So while they will be technically contained in different scopes, you still don't have control over which to use.
                
> Register the Spring Extension on client side.
> ---------------------------------------------
>
>                 Key: ARQ-985
>                 URL: https://issues.jboss.org/browse/ARQ-985
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Spring
>    Affects Versions: spring_1.0.0.Alpha1
>            Reporter: Jakub Narloch
>            Assignee: Jakub Narloch
>             Fix For: spring_1.0.0.next
>
>
> Curently the extension is not being registered on the client side.

--
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 arquillian-issues mailing list