T
- type the source will providepublic class JcrConfigurationSource<T> extends Object implements ConfigurationSource
Constructor and Description |
---|
JcrConfigurationSource(Registry<T> registry,
String pathInModule,
org.apache.jackrabbit.commons.predicate.Predicate nodeFilter,
info.magnolia.jcr.node2bean.Node2BeanProcessor node2BeanProcessor,
info.magnolia.module.ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkNode(javax.jcr.Node node)
Returns true if the given node should be used to load a definition from it.
|
protected void |
collectProvidersFor(List<DefinitionProvider<T>> providers,
javax.jcr.Node node) |
protected DefinitionMetadataBuilder |
createMetadata(javax.jcr.Node configNode) |
protected Registry<T> |
getRegistry() |
protected DefinitionProvider<T> |
newProvider(javax.jcr.Node configNode) |
protected void |
reload(List<javax.jcr.Node> nodes) |
void |
start() |
ConfigurationSourceType |
type() |
public JcrConfigurationSource(Registry<T> registry, String pathInModule, org.apache.jackrabbit.commons.predicate.Predicate nodeFilter, info.magnolia.jcr.node2bean.Node2BeanProcessor node2BeanProcessor, info.magnolia.module.ModuleRegistry moduleRegistry) throws IOException
IOException
public ConfigurationSourceType type()
type
in interface ConfigurationSource
public void start()
start
in interface ConfigurationSource
protected void reload(List<javax.jcr.Node> nodes) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void collectProvidersFor(List<DefinitionProvider<T>> providers, javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected boolean checkNode(javax.jcr.Node node)
protected DefinitionProvider<T> newProvider(javax.jcr.Node configNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected DefinitionMetadataBuilder createMetadata(javax.jcr.Node configNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.