[jboss-user] [JCA Development] New message: "Re: Management of configuration properties inside ra.xml"

Ramesh Reddy do-not-reply at jboss.com
Tue Feb 2 12:37:50 EST 2010


User 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/main/java/org/teiid/templates/connector/
 
and look for template info stuff here..
http://anonsvn.jboss.org/repos/teiid/branches/JCA/build/kit-jboss-container/deploy/teiid-jboss-beans.xml
 
a sample ra.xml file here..
http://anonsvn.jboss.org/repos/teiid/branches/JCA/connectors/connector-jdbc/src/main/rar/META-INF/ra.xml
 
Thanks.
 
Ramesh..

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523729#523729




More information about the jboss-user mailing list