public Set<NettyChannelHandlerFactory> getChannelHandlerFactories() {
        return new HashSet<>(this.channelHandlerFactories);
    }
Returns a copy of the collection of ChannelHandler factories that are registered with this instance.

@return A collection of ChannelHandler factory instances.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/NettyConnectionAcceptor.java