private void bindListener(Class<?> providerClass) {

        logger.debug("[{}] Binding listener \"{}\".",
                boundListeners.size(), providerClass.getName());
        boundListeners.addAll(ListenerFactory.createListeners(providerClass));

    }
Binds the given provider class such that a listener is bound for each
listener interface implemented by the provider and such that all bound
listener instances can be obtained via injection.

@param providerClass
    The listener class to bind.
guacamole/src/main/java/org/apache/guacamole/extension/ExtensionModule.java