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, findFirstMatchByName, getName, getNameList, getNames, ofName, removeByName, safeCompareByNameService 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–2021 The Apache Software Foundation. All rights reserved.