Package org.alfresco.repo.event2.filter
Class EventFilterRegistry
java.lang.Object
org.alfresco.repo.event2.filter.EventFilterRegistry
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class EventFilterRegistry
extends Object
implements org.springframework.beans.factory.BeanFactoryAware
Holds
EventFilter implementations.- Author:
- Jamal Kaabi-Mofrad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<F extends EventFilter<?>>
FReturn the filter bean instance that uniquely matches the given object type.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
-
Constructor Details
-
EventFilterRegistry
public EventFilterRegistry()
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(@NonNull org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
getFilter
Return the filter bean instance that uniquely matches the given object type.- Parameters:
filterClass- the event filter type that the bean must match- Returns:
- an instance of the filter bean matching the required type
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException- - if no bean of the given type was found
-
getNodeTypeFilter
-
getNodeAspectFilter
-
getNodePropertyFilter
-
getChildAssociationTypeFilter
-
getEventUserFilter
-