directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@apache.org>
Subject RE: [seda] API & IMPL project/jar consolidation
Date Mon, 20 Sep 2004 16:31:42 GMT


> -----Original Message-----
> From: Alex Karasulu [mailto:aok123@bellsouth.net]
> Sent: 20 September 2004 17:56
> To: Apache Directory Developers List
> Subject: RE: [seda] API & IMPL project/jar consolidation
> 
> <snip/>
> 
> > (just
> > throw in a package protected console logger and you will eliminate
the
> > api pollution and close a security hole at the same time).
> 
> So you mean make the monitors with deps on commons-logging package
> protected?

No.

Take commons-logging and make it disappear.  Ok, so now you have done
this - you still have this pesky demo class that runs without a
container but you need to log stuff.  So just throw together a console
logger of your own design - i.e. writes something dirty to System.out
inside a class called ConsoleMonitor or whatever.  

You end up delivering the demonstrable solution (that could be used in a
real scenario) but you are not opening up a security hole and will not
be introducing another "dirty api" (there are more than enough of them
out there already).

Cheers, Steve.





Mime
View raw message