org.apache.avalon.meta.info.builder
Class SerializedServiceCreator

java.lang.Object
  extended byorg.apache.avalon.meta.info.builder.SerializedServiceCreator
All Implemented Interfaces:
ServiceCreator

public class SerializedServiceCreator
extends Object
implements ServiceCreator

Create Service from stream made up of a serialized object.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/07/10 12:10:04 $
Author:
Avalon Development Team

Constructor Summary
SerializedServiceCreator()
           
 
Method Summary
 Service createService(String key, InputStream input)
          Create of a service instance from a serialized form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedServiceCreator

public SerializedServiceCreator()
Method Detail

createService

public Service createService(String key,
                             InputStream input)
                      throws Exception
Create of a service instance from a serialized form.

Specified by:
createService in interface ServiceCreator
Parameters:
key - parameter not used
input - the input stream
Returns:
the meta-info instance that describes the component type
Throws:
Exception - if an error occurs


Copyright © Apache Software Foundation. All Rights Reserved.