org.apache.avalon.meta.info.builder
Interface ServiceCreator
- All Known Implementing Classes:
- SerializedServiceCreator, XMLServiceCreator
- public interface ServiceCreator
Interface used to create a Service
from a stream.
- Version:
- $Revision: 1.1 $ $Date: 2003/07/10 20:38:48 $
- Author:
- Avalon Development Team
createService
public Service createService(String key,
InputStream input)
throws Exception
- Create a
Service
from stream
- Parameters:
key
- the name of the service typeinput
- the input stream that the resource is loaded from
- Returns:
- the created
Service
- Throws:
Exception
- if an error occurs
Copyright © Apache Software Foundation. All Rights Reserved.