Re: localhost

2012-10-16 Thread Simon IJskes - QCG
pluggable getLocalHost resolver. I'm thinking of overriding the hostname on a badly configured PC and taking newly acquired DHCP leases into account at the same time. Greg. On Thu, 2012-10-11 at 08:05, Simon IJskes - QCG wrote: Shall we build a localHost lookup class for use river-wide, th

Re: localhost

2012-10-12 Thread Simon IJskes - QCG
On 11-10-12 21:36, Gregg Wonderly wrote: On 10/11/2012 7:05 AM, Simon IJskes - QCG wrote: Shall we build a localHost lookup class for use river-wide, that allows for a pluggable best hostname/ipaddress finder? And replace all InetAddress.getLocalHost() with a call LocalHostLookup.getLocalHost

Re: localhost

2012-10-12 Thread Simon IJskes - QCG
On 11-10-12 19:43, Greg Trasuk wrote: Seems like a good idea. I have a feeling I've written something similar in the past. I'll take a look around... perfect. i can fix the build. Which package shall we place this class? Shall i provide a template implementation? -- QCG, Software voor het

Re: localhost

2012-10-11 Thread Gregg Wonderly
On 10/11/2012 7:05 AM, Simon IJskes - QCG wrote: Shall we build a localHost lookup class for use river-wide, that allows for a pluggable best hostname/ipaddress finder? And replace all InetAddress.getLocalHost() with a call LocalHostLookup.getLocalHost() ? We can plugin, enable/disable the

Re: localhost

2012-10-11 Thread Greg Trasuk
Seems like a good idea. I have a feeling I've written something similar in the past. I'll take a look around... Greg. On Thu, 2012-10-11 at 08:05, Simon IJskes - QCG wrote: > Shall we build a localHost lookup class for use river-wide, that allows > for a pluggable best ho

localhost

2012-10-11 Thread Simon IJskes - QCG
Shall we build a localHost lookup class for use river-wide, that allows for a pluggable best hostname/ipaddress finder? And replace all InetAddress.getLocalHost() with a call LocalHostLookup.getLocalHost() ? We can plugin, enable/disable the check host=127.0.0.1 from there. Gr. Simon