Interface SnListenerFactory

All Known Implementing Classes:
DefaultSnListenerFactory

public interface SnListenerFactory
Implementations of this interface are responsible for resolving and creating instances of listeners.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> List<T>
    getListeners(SnContext context, Class<T> listenerType)
    Returns instances of listeners for a specific type.
  • Method Details

    • getListeners

      <T> List<T> getListeners(SnContext context, Class<T> listenerType)
      Returns instances of listeners for a specific type.
      Parameters:
      context - - the context
      listenerType - - the type of the listeners
      Returns:
      the listeners