Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.5.1
-
None
Description
Nice to have
In OpenEJBDeployableContainer
Change this:
private InitialContext initialContext;
To this:
@Inject
@DeploymentScoped // I'm assuming DeploymentScoped .. is there a better one to use?
private InstanceProducer<Context> initialContext;
So other Arquillian stuff can access the context with:
@Inject
private Instance<Context> ctx;
Instead of new InitialContext().