Peter Johnson [
http://community.jboss.org/people/peterj] created the discussion
"Re: How to get list of all registred DS names (Object) in JBoss
programmatically."
To view the discussion, visit:
http://community.jboss.org/message/616397#616397
--------------------------------------------------------------
I hope that by DS you mean data source. You can look up the mbeans created for the
datasource. One of the mbeans created is named
"jboss.jca:name=XXX,service=DataSourceBinding" where XXX is the datasource name.
So looking up the mbeans whose names fit this pattern will return one mbean for each data
source. You can then query the mbean name to get the datsource name.
This will get you started with mbean lookup:
http://community.jboss.org/docs/DOC-9901
http://community.jboss.org/wiki/HowDoIGetRemoteAccessToMyMBean
http://community.jboss.org/thread/52375 http://community.jboss.org/thread/52375
http://community.jboss.org/message/251586#251586
http://community.jboss.org/message/251586
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/616397#616397]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]