@Singleton public class JcrSearchSuppliersGenerator extends Object implements AppRegistryEventHandler
SearchResultSupplierDefinition
per app/subApp datasource if no supplier is explicitly configured in module where app is registered.Constructor and Description |
---|
JcrSearchSuppliersGenerator(AppDescriptorRegistry appDescriptorRegistry,
info.magnolia.periscope.search.SearchResultSupplierDefinitionRegistry searchResultSupplierDefinitionRegistry,
info.magnolia.event.EventBus systemEventBus) |
Modifier and Type | Method and Description |
---|---|
void |
onAppRegistered(AppRegistryEvent event) |
void |
onAppReregistered(AppRegistryEvent event) |
void |
onAppUnregistered(AppRegistryEvent event) |
@Inject public JcrSearchSuppliersGenerator(AppDescriptorRegistry appDescriptorRegistry, info.magnolia.periscope.search.SearchResultSupplierDefinitionRegistry searchResultSupplierDefinitionRegistry, @Named(value="system") info.magnolia.event.EventBus systemEventBus)
public void onAppRegistered(AppRegistryEvent event)
onAppRegistered
in interface AppRegistryEventHandler
public void onAppReregistered(AppRegistryEvent event)
onAppReregistered
in interface AppRegistryEventHandler
public void onAppUnregistered(AppRegistryEvent event)
onAppUnregistered
in interface AppRegistryEventHandler
Copyright © 2020 Magnolia International Ltd.. All rights reserved.