public class JcrConfigurationSourceBuilder extends AbstractConfigurationSourceBuilder
JcrConfigurationSource
instances.Constructor and Description |
---|
JcrConfigurationSourceBuilder(info.magnolia.jcr.node2bean.Node2BeanProcessor node2BeanProcessor,
info.magnolia.module.ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(Registry<?> registry)
Must be called only once (preferably on system startup) to prevent memory leaks
(
EventListener s cannot be deregistered once new JcrConfigurationSource is instantiated). |
void |
bindWithDefaults(Registry registry)
Must be called only once (preferably on system startup) to prevent memory leaks
(
EventListener s cannot be deregistered once new JcrConfigurationSource is instantiated). |
JcrConfigurationSourceBuilder |
withFilter(org.apache.jackrabbit.commons.predicate.Predicate nodeFilter)
Provides a
Predicate which will be used
to determine if a given need can indeed be registered with this registry. |
JcrConfigurationSourceBuilder |
withModulePath(String pathInModule) |
pluralTypeNameOf, typeNameOf
public JcrConfigurationSourceBuilder(info.magnolia.jcr.node2bean.Node2BeanProcessor node2BeanProcessor, info.magnolia.module.ModuleRegistry moduleRegistry)
public JcrConfigurationSourceBuilder withModulePath(String pathInModule)
public JcrConfigurationSourceBuilder withFilter(org.apache.jackrabbit.commons.predicate.Predicate nodeFilter)
Predicate
which will be used
to determine if a given need can indeed be registered with this registry. Defaults to an
"always true" implementation.public void bindTo(Registry<?> registry)
EventListener
s cannot be deregistered once new JcrConfigurationSource
is instantiated).public void bindWithDefaults(Registry registry)
EventListener
s cannot be deregistered once new JcrConfigurationSource
is instantiated).Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.