public abstract static class TcpipServerChannel.TcpipFactory extends Object implements ChannelFactory, ExecutorServiceCarrier
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier | Constructor and Description |
---|---|
protected |
TcpipFactory(TcpForwardingFilter.Type type) |
Modifier and Type | Method and Description |
---|---|
Channel |
create() |
ExecutorService |
getExecutorService() |
String |
getName() |
TcpForwardingFilter.Type |
getType() |
boolean |
isShutdownOnExit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, setUpBuiltinFactories, setUpTransformedFactories
findByName, getNameList, getNames, removeByName
protected TcpipFactory(TcpForwardingFilter.Type type)
public final TcpForwardingFilter.Type getType()
public final String getName()
getName
in interface NamedResource
public ExecutorService getExecutorService()
getExecutorService
in interface ExecutorServiceCarrier
ExecutorService
to usepublic 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–2019 The Apache Software Foundation. All rights reserved.