commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject [discovery] minor API change...
Date Tue, 20 Aug 2002 15:52:04 GMT
The static method on ServiceDiscovery to create a new ServiceDiscovery
implementation, based on your JDK, is right now called getServiceDiscovery()
which looks a bit like a singleton.

How about we rename this method to something like..

    newInstance()

which would then follow the naming conventions of JAXP? Then it could be
used as...

    ServiceDiscovery discovery = ServiceDiscovery.newInstance();

James
-------
http://james.weblogger.com/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message