geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Object $getResource();
Date Fri, 18 Aug 2006 06:49:05 GMT

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


Mime
View raw message