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.2 $ $Date: 2004/02/21 13:27:04 $
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 © The Apache Software Foundation. All Rights Reserved.