Hi,
I think it would be nice if I could force the client, to return the borrowed
objects to the pool.
As I see other guys think so too. nice :)
I´ve mentioned that it would be an approach to have an interface that have
to be implemnted by
the objects that are polable. But this could be a problem.
I have an idea, for forcing clients to return borrowd objects.
It seems like a scruffy design :-/
You could use the Reference Objects API to check how many objects hold an
reference to
the pooled object.
As I suppose:
If the common-pool borrow an object to the client, the client and the pool
hold