[seam-dev] XML Configuration of producer fields

Stuart Douglas stuart at baileyroberts.com.au
Tue Aug 24 04:39:18 EDT 2010

I think that seam-xml needs to ability to programatically add resource (and other) producer fields.  My proposed syntax is:

  <s:PersistenceContext unitName="customer" />

which would be equivalent to:

EntityManager entityManager;

This will also support other types of producer fields, such as weld extension generic bean producer fields and primitives:

  <my:ApplicationVersion />

What does everyone think? I think there is a definite use case for this, but I am not 100% sure about the syntax.


More information about the seam-dev mailing list