public interface ChannelFactory extends NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Modifier and Type | Method and Description |
|---|---|
Channel |
createChannel(Session session) |
static Channel |
createChannel(Session session,
Collection<? extends ChannelFactory> factories,
String name) |
findByName, findFirstMatchByName, getName, getNameList, getNames, ofName, removeByName, safeCompareByNameChannel createChannel(Session session) throws IOException
session - The Session through which the request is madeChannelIOException - If failed to create the requested instancestatic Channel createChannel(Session session, Collection<? extends ChannelFactory> factories, String name) throws IOException
session - The Session through which the request is madefactories - The available factoriesname - The required factory name to useChannel - null if no match foundIOException - If failed to create the requested instanceCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.