On 2/16/10 2:20 PM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kay,

(Any relation to Jay Kay? That's guy's cool)
   not exactly :)
On 2/10/2010 6:58 PM, Kay Kay wrote:
In Commons-Pool :  o.a.commons.pool.BasePoolableObjectFactory and
similar classes seem like good candidates for a generic api .  Any idea
, if the generification is in the roadmap of this package ?
I believe the /generalization/ you're looking for is the entire
commons-pool API itself. How much more generic can you get than
PoolableObjectFactory?

ObjectFactoryFactory? PoolablePoolFactoryFactory?

I meant - something along the lines of -

PoolableObjectFactory<T> {
  void activateObject(T obj);
  destroyObject(T obj);
  T makeObject();
  void passivateObject(T obj);
  boolean validateObject(T obj);
}

I am sure this is a thought that could have struck before. Any reasons / opinions on the api looking along these lines ?


- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt7GkUACgkQ9CaO5/Lv0PDJxwCdHLSfWW3hQWCbRkZtFkLZnkWL
XKcAoLR+6R6XYrbczaL5YCdJGjg+NTLN
=8MHR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to