Interface ObserverNotifierFactory

  • All Superinterfaces:
    org.jboss.weld.bootstrap.api.Service
    All Known Implementing Classes:
    DefaultObserverNotifierFactory

    public interface ObserverNotifierFactory
    extends org.jboss.weld.bootstrap.api.Service
    Pluggable factory for ObserverNotifier.
    Author:
    Jozef Hartinger
    • Method Detail

      • create

        ObserverNotifier create​(String contextId,
                                TypeSafeObserverResolver resolver,
                                org.jboss.weld.bootstrap.api.ServiceRegistry services,
                                boolean strict)
        Create a new ObserverNotifier using given resolver.
        Parameters:
        contextId - the container id of the running container
        resolver - the given resolver
        services -
        strict - true if this notifier should perform strict type checks, false if this notifier should be lenient (used internally only)
        Returns:
      • cleanup

        default void cleanup()
        Specified by:
        cleanup in interface org.jboss.weld.bootstrap.api.Service