Object $getResource();

2006-08-18 Thread Jason Dillon

Why is there a $ here?

snip
public interface ConnectionFactorySource {

Object $getResource();

}
/snip

--jason


Re: Object $getResource();

2006-08-18 Thread David Jencks


On Aug 17, 2006, at 11:28 PM, Jason Dillon wrote:


Why is there a $ here?

snip
public interface ConnectionFactorySource {

Object $getResource();

}
/snip


This and the AdminObjectSource are implemented by dynamic gbeans  
that are swizzled to expose the getters and setters on the javabean  
(ManagecConnectionFactory or AdminObject) that they wrap.  I put the  
$ in 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.


thanks
david jencks



--jason




Re: Object $getResource();

2006-08-18 Thread Jason Dillon
Kay, thanks for the clarification.  I added a comment to this affect in these sources for future ref.--jasonOn Aug 17, 2006, at 11:49 PM, David Jencks wrote:This and the AdminObjectSource are implemented by "dynamic gbeans" that are swizzled to expose the getters and setters on the javabean (ManagecConnectionFactory or AdminObject) that they wrap.  I put the $ in 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.