public class ChannelAgentForwardingFactory extends Object implements ChannelFactory, ExecutorServiceCarrier
NamedFactory.Utils
Modifier and Type | Field and Description |
---|---|
static ChannelAgentForwardingFactory |
INSTANCE |
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
ChannelAgentForwardingFactory() |
Modifier and Type | Method and Description |
---|---|
Channel |
create() |
ExecutorService |
getExecutorService() |
String |
getName() |
boolean |
isShutdownOnExit() |
public static final ChannelAgentForwardingFactory INSTANCE
public String getName()
getName
in interface NamedResource
public ExecutorService getExecutorService()
getExecutorService
in interface ExecutorServiceCarrier
public boolean isShutdownOnExit()
isShutdownOnExit
in interface ExecutorServiceCarrier
true
then the ExecutorService.shutdownNow()
will be called (unless it is an internally allocated service which is always
closed)Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.