4 Replies Latest reply: Jun 24, 2012 11:12 AM by Oliver Fischer RSS

Injection of no-interface view and enterprise deployment

Oliver Fischer Newbie

Hi,

 

Arquillian is a great piece of software and it helps a lot to simplify my integration and unit tests.

 

However it seems not to be possible to get the no-interface view of a bean injected if I do the deployment as EnterpriseArchive. I was only able to get remote interfaces injected with an EnterpriseArchive deployment. But this changes the semantic of all my tests for 100% since my application uses only no-interface beans.

 

So is it possible to get no-interface beans injected with an Ear deployment? My current workaround is to look-up the no-interface view in the JNDI context.

 

Bye,

 

Oliver