org.apache.avalon.meta.info.writer
Interface ServiceWriter

All Known Implementing Classes:
SerializedServiceWriter, XMLServiceWriter

public interface ServiceWriter

Interface implemented by objects supporting the writing of a Service to an output stream.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 08:16:10 $
Author:
Avalon Development Team

Method Summary
 void writeService(Service service, OutputStream stream)
          Write a Service to a stream
 

Method Detail

writeService

public void writeService(Service service,
                         OutputStream stream)
                  throws Exception
Write a Service to a stream

Parameters:
service - the meta Service instance
stream - the destination stream
Throws:
Exception - if an error occurs while writing to the stream


Copyright © Apache Software Foundation. All Rights Reserved.