org.apache.avalon.meta.info.writer
Class SerializedServiceWriter

java.lang.Object
  extended byorg.apache.avalon.meta.info.writer.SerializedServiceWriter
All Implemented Interfaces:
ServiceWriter

public class SerializedServiceWriter
extends Object
implements ServiceWriter

Write Service objects to a stream as serialized objects.

Version:
$Revision: 1.2 $ $Date: 2004/02/21 13:27:04 $
Author:
Avalon Development Team

Constructor Summary
SerializedServiceWriter()
           
 
Method Summary
 void writeService(Service service, OutputStream stream)
          Write a Service to a stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedServiceWriter

public SerializedServiceWriter()
Method Detail

writeService

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

Specified by:
writeService in interface ServiceWriter
Parameters:
service - the meta service descriptor
stream - the destination stream
Throws:
Exception - if an error occurs while writting to the stream


Copyright © The Apache Software Foundation. All Rights Reserved.