public interface ServiceFactory extends NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Modifier and Type | Method and Description |
|---|---|
static Service |
create(Collection<? extends ServiceFactory> factories,
String name,
Session session)
Create an instance of the specified name by looking up the needed factory
in the list (case insensitive.
|
Service |
create(Session session) |
findByName, getName, getNameList, getNames, removeByNameService create(Session session) throws IOException
IOExceptionstatic Service create(Collection<? extends ServiceFactory> factories, String name, Session session) throws IOException
factories - list of available factoriesname - the factory name to usesession - the referenced Sessionnull if the factory is not in the listIOException - if session creation failedcreate(Session)Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.