You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/08/18 09:45:12 UTC

svn commit: r432512 - in /geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector: AdminObjectSource.java outbound/ConnectionFactorySource.java

Author: jdillon
Date: Fri Aug 18 00:45:11 2006
New Revision: 432512

URL: http://svn.apache.org/viewvc?rev=432512&view=rev
Log:
Added comments about the odd use of $

Modified:
    geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/AdminObjectSource.java
    geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/ConnectionFactorySource.java

Modified: geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/AdminObjectSource.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/AdminObjectSource.java?rev=432512&r1=432511&r2=432512&view=diff
==============================================================================
--- geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/AdminObjectSource.java (original)
+++ geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/AdminObjectSource.java Fri Aug 18 00:45:11 2006
@@ -22,5 +22,13 @@
  */
 public interface AdminObjectSource {
 
+    //
+    // This is implemented by "dynamic gbeans" that are swizzled to expose the 
+    // getters and setters on the javabean (ManagecConnectionFactory or AdminObject) that they wrap.
+    //
+    // The $ is here  so this method couldn't have a name conflict with a javabean property and so it would
+    // not be likely to be called by the casual observer.
+    //
+
     Object $getResource();
 }

Modified: geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/ConnectionFactorySource.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/ConnectionFactorySource.java?rev=432512&r1=432511&r2=432512&view=diff
==============================================================================
--- geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/ConnectionFactorySource.java (original)
+++ geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/ConnectionFactorySource.java Fri Aug 18 00:45:11 2006
@@ -22,6 +22,14 @@
  */
 public interface ConnectionFactorySource {
 
+    //
+    // This is implemented by "dynamic gbeans" that are swizzled to expose the
+    // getters and setters on the javabean (ManagecConnectionFactory or AdminObject) that they wrap.
+    //
+    // The $ is here  so this method couldn't have a name conflict with a javabean property and so it would
+    // not be likely to be called by the casual observer.
+    //
+    
     Object $getResource();
 
 }