> Here's an example of what I'm talking about:
> 
> public class PooledConnection extends Connection {
>     public PooledConnection(Connection delegate) {
>         _delegate = delagate;
>     }
> 
>     public void someMethod() throws SQLException {
>         _delegate.someMethod();
>     }
> 
>     public void close() throws SQLException {
>        _sourcePool.returnObject(this);
>     }
> 
>     private void _close() throws SQLException {
>        _delegate.close();
>     }
> 
>     private Connection _delegate = null;
>     private Pool _sourcePool = null;
> }

Just a question: in this example, who invokes the private version of the
close (_close)?

Ringo

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to