[jboss-cvs] JBossAS SVN: r111778 - trunk/connector/src/etc/example-config.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 18 12:39:41 EDT 2011


Author: alesj
Date: 2011-07-18 12:39:41 -0400 (Mon, 18 Jul 2011)
New Revision: 111778

Modified:
   trunk/connector/src/etc/example-config/hsqldb-ds.xml
Log:
Add explanation to mbean name.


Modified: trunk/connector/src/etc/example-config/hsqldb-ds.xml
===================================================================
--- trunk/connector/src/etc/example-config/hsqldb-ds.xml	2011-07-18 16:34:28 UTC (rev 111777)
+++ trunk/connector/src/etc/example-config/hsqldb-ds.xml	2011-07-18 16:39:41 UTC (rev 111778)
@@ -122,7 +122,11 @@
      <attribute name="InProcessMode">true</attribute>
    </mbean>
 
-   <!-- Create an alias to new JBoss7 default DS name -->
+   <!--
+        Create an alias to new JBoss7 default DS name.
+        The mbean/service name is a bit of a hack, to serve as a dependency,
+        while actually the true DS service lookup is done via jndi, hence linkref works.
+   -->
    <mbean code="org.jboss.services.binding.AliasJndiService"
           name="jboss.jca:name=jboss/datasources/ExampleDS,service=DataSourceBinding">
        <attribute name="Alias">java:jboss/datasources/ExampleDS</attribute>



More information about the jboss-cvs-commits mailing list