[
https://issues.jboss.org/browse/ARQ-1778?page=com.atlassian.jira.plugin.s...
]
Martin Basovnik updated ARQ-1778:
---------------------------------
Description:
Bundle is not started automaticly after deployment. It is possible to use annotation
{{@StartLevelAware(autostart = true)}} for specific test now.
Add new global container property *autostartBundle*. This will cause autostart of all
deployed bundles. If either annotation of specific bundle or container property will have
positive value bundle will be started. One setting with positive value will always
override the second one with negative value.
Property type will be {{boolean}} and default value {{false}}.
was:
Bundle is not started automaticly after installation now.
Create new container property *autostartBundle*. It's type will be {{boolean}} and
default value {{false}}.
BundleContext cannot be injected in application servers (e.g. EAP) and arquillian tests
cannot be shared now with both containers.
Annotation {{(a)org.jboss.arquillian.osgi.StartLevelAware(autostart = true)}} does not solve
this problem, because maven artifact with this annotation can add another container on
classpath and this is problem.
Add global container setting for bundle autostart after deployment.
-------------------------------------------------------------------
Key: ARQ-1778
URL:
https://issues.jboss.org/browse/ARQ-1778
Project: Arquillian
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: OSGi Containers
Reporter: Martin Basovnik
Assignee: Thomas Diesler
Bundle is not started automaticly after deployment. It is possible to use annotation
{{@StartLevelAware(autostart = true)}} for specific test now.
Add new global container property *autostartBundle*. This will cause autostart of all
deployed bundles. If either annotation of specific bundle or container property will have
positive value bundle will be started. One setting with positive value will always
override the second one with negative value.
Property type will be {{boolean}} and default value {{false}}.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)