public ConnectionAcceptor getConnectionAcceptor( ConnectionType type, boolean directTLS )
    {
        return getListener(type, directTLS).getConnectionAcceptor();
    }
Returns the connection acceptor for a particular connection type and configuration.

@param type The connection type for which to return the acceptor
@param directTLS DirectTLS or StartTLS selector
@return The connection acceptor for the provided arguments.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionManagerImpl.java