org.apache.avalon.meta.info.writer
Class SerializedServiceWriter
java.lang.Object
org.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.1.1.1 $ $Date: 2003/07/10 12:10:16 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedServiceWriter
public SerializedServiceWriter()
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 descriptorstream
- the destination stream
- Throws:
Exception
- if an error occurs while writting to the stream
Copyright © Apache Software Foundation. All Rights Reserved.