Package org.jboss.weld.module
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 Summary
Modifier and TypeMethodDescriptiondefault voidcleanup()create(String contextId, TypeSafeObserverResolver resolver, org.jboss.weld.bootstrap.api.ServiceRegistry services, boolean strict) Create a newObserverNotifierusing given resolver.
-
Method Details
-
create
ObserverNotifier create(String contextId, TypeSafeObserverResolver resolver, org.jboss.weld.bootstrap.api.ServiceRegistry services, boolean strict) Create a newObserverNotifierusing given resolver.- Parameters:
contextId- the container id of the running containerresolver- the given resolverservices-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:
cleanupin interfaceorg.jboss.weld.bootstrap.api.Service
-