Class AbstractAcceptor
- java.lang.Object
-
- org.apache.activemq.artemis.core.remoting.impl.AbstractAcceptor
-
- All Implemented Interfaces:
ActiveMQComponent,Acceptor
- Direct Known Subclasses:
InVMAcceptor,NettyAcceptor
public abstract class AbstractAcceptor extends Object implements Acceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,ProtocolManager>protocolMap
-
Constructor Summary
Constructors Constructor Description AbstractAcceptor(Map<String,ProtocolManager> protocolMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,ProtocolManager>getProtocolMap()voidupdateInterceptors(List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors)This will update the list of interceptors for each ProtocolManager inside the acceptor.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.spi.core.remoting.Acceptor
getActualPort, getClusterConnection, getConfiguration, getName, getProtocolHandler, isUnsecurable, pause, reload, setDefaultActiveMQPrincipal, setNotificationService
-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop, isStarted, start, stop
-
-
-
-
Field Detail
-
protocolMap
protected final Map<String,ProtocolManager> protocolMap
-
-
Constructor Detail
-
AbstractAcceptor
public AbstractAcceptor(Map<String,ProtocolManager> protocolMap)
-
-
Method Detail
-
updateInterceptors
public void updateInterceptors(List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors)
This will update the list of interceptors for each ProtocolManager inside the acceptor.- Specified by:
updateInterceptorsin interfaceAcceptor
-
getProtocolMap
public Map<String,ProtocolManager> getProtocolMap()
-
-