JBoss development,
A new message was posted in the thread "Management of configuration properties inside
ra.xml":
http://community.jboss.org/message/523729#523729
Author : Ramesh Reddy
Profile :
http://community.jboss.org/people/rareddy
Message:
--------------------------------------------------------------
Yes, to support my usecase, no in a generic framework, but this trick can be applied to
any connection factory with little work.
All the Connection Factories expose a JMX interface in the JBoss AS, using those you can
see what properties are inside a Connection Factory or Data Source. When exposing a
"template" for those connection factories, read the these properties and inject
them into the template metadata which will be exposed through the profile service to any
management applications like JOPR. When writing the template do the reverse, but write the
properties that are from "ra.xml" as "config-property" in the
"-ds.xml" file.
If you are interested see the code here..
http://anonsvn.jboss.org/repos/teiid/branches/JCA/jboss-integration/src/m...
and look for template info stuff here..
http://anonsvn.jboss.org/repos/teiid/branches/JCA/build/kit-jboss-contain...
a sample ra.xml file here..
http://anonsvn.jboss.org/repos/teiid/branches/JCA/connectors/connector-jd...
Thanks.
Ramesh..
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/523729#523729