In EJB3 I'm trying to guess the datasource MBean name so that I can create a dependency on it. I do this based on the JNDI name passed into persistence.xml. So, if the datsource is "java:/DefaultDS" I assume that there is a:

"jboss.jca:service=DataSource,name=DefaultDS" mbean available.

Is this a valid assumption?

Thanks,

Bill

--
Bill Burke
Chief Architect
JBoss Inc.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to