org.apache.avalon.meta.info.builder
Class SerializedServiceCreator
java.lang.Object
org.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/09/24 08:15:24 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedServiceCreator
public SerializedServiceCreator()
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 usedinput
- 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.