did you add the producer?

* DefaultConfigPropertyProducer

BTW using arquillian (openejb embedded adapter) allows you to add
deltaspike jars directly:
http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/deltaspike-configproperty/src/test/java/org/superbiz/deltaspike/config/ConfigTest.java


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-08-18 14:53 GMT+02:00 hwaastad <[email protected]>:
> Sure,
> I did inclusion while your reply was in the air :-)
>
> By extending and testing:
> return new
> Class<?>[]{TestService.class,WindowBeanHolder.class,WindowIdHolder.class,ConversationBeanHolder.class,ViewAccessBeanHolder.class,ViewAccessBeanAccessHistory.class,ViewAccessViewHistory.class};
>
> OK, one step further.
> Now injection fails:
> SEVERE - CDI Beans module deployment failed
> org.apache.webbeans.exception.inject.DeploymentException:
> javax.enterprise.inject.UnsatisfiedResolutionException: Api type
> [java.lang.String] is not found with the qualifiers
> Qualifiers:
> [@org.apache.deltaspike.core.api.config.ConfigProperty(defaultValue=org.apache.deltaspike.NullValueMarker,
> name=destination)]
> for injection into Field Injection Point, field name :  destination, Bean
> Owner : [TestService, Name:null, WebBeans Type:ENTERPRISE, API
> Types:[java.io.Serializable,org.waastad.containertesting.service.TestService,java.lang.Object],
> Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]]
>
> hw
>
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/ApplicationComposer-and-Deltaspike-1-0-tp4671240p4671250.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to