[arquillian-issues] [JBoss JIRA] (ARQ-1304) Create test ApplicationContext through factory method.
Jakub Narloch (JIRA)
jira-events at lists.jboss.org
Wed Feb 20 12:48:56 EST 2013
Jakub Narloch created ARQ-1304:
----------------------------------
Summary: Create test ApplicationContext through factory method.
Key: ARQ-1304
URL: https://issues.jboss.org/browse/ARQ-1304
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Spring
Affects Versions: spring_1.0.0.Beta1
Reporter: Jakub Narloch
Assignee: Jakub Narloch
Fix For: spring_1.0.0.next
Current version brings the concept of custom classes, which allows to define the concreate class that will be used to instantiate the ApplicationContext. Maybe it would be good idea to give the user full control on how the ApplicationContext will be created, so he can not only use some specialized implementation but would be also able to configure it correctly.
On the code level this would be achive by 'scaning' for static method that will be responsible for creating the ApplicationContext instance e.g.:
{code}
@SpringApplicationContext ApplicationContext [method_name]() {}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list