Jason Greene [
http://community.jboss.org/people/jason.greene%40jboss.com] replied to the
discussion
"domain.xml work"
To view the discussion, visit:
http://community.jboss.org/message/536123#536123
--------------------------------------------------------------
Emanuel Muckenhuber wrote:
Seems you misunderstood me. I was not talking about having IOC in the domain.xml at all.
I said using IOC for configuration is a problem, since ProfileService does not understand
injection. Just look at how persistence overrides are applied to the e.g. the
service-binding-manager - where we actually override properties with <inject /> with
the beans constructed within profileservice - based on the peristence information. Again
this has nothing to do with the actual domain.xml, it is more about the mapping and
override layer.
The service binding manager should be obviated by the domain model, so there should be no
need for injection overrides. Put another way, anything managed by domain.xml should not
be allowed in some arbitrary beans.xml descriptor.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/536123#536123]
Start a new discussion in Management Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]