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 NamedResourcepublic ExecutorService getExecutorService()
getExecutorService in interface ExecutorServiceCarrierpublic boolean isShutdownOnExit()
isShutdownOnExit in interface ExecutorServiceCarriertrue then the ExecutorService.shutdownNow()
will be called (unless it is an internally allocated service which is always
closed)Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.