public class JcrConfigurationSourceBuilder extends AbstractConfigurationSourceBuilder
JcrConfigurationSource
instances.Constructor and Description |
---|
JcrConfigurationSourceBuilder(Node2BeanProcessor node2BeanProcessor,
Map2BeanTransformer map2BeanTransformer,
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(Node2BeanProcessor node2BeanProcessor, Map2BeanTransformer map2BeanTransformer, 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–2019 Magnolia International Ltd.. All rights reserved.