avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@realityforge.org>
Subject [logkit] Closeable .. ma no Openable?
Date Sun, 02 Mar 2003 20:54:15 GMT

I have added a Closeable interface into Logkit but as yet there is no Openable 
interface. The question becomes - is there a need for an Openable interface 

interface Openable
  void open();

That way we could reopen targets after we have closed them vie Closeable. But 
as the configuration of targets is generally immutable I am not sure there is 
any benefit in that?

Alternatively we could just add an extra interface like

interface ActiveTarget
  void open();
  void close();



Peter Donald
| "The whole problem with the world is that fools and  |
| fanatics are always so certain of themselves, but    |
| wiser people so full of doubts." - Bertrand Russell  |

To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org

View raw message