T
- type the source will providepublic class YamlConfigurationSource<T> extends AbstractFileResourceConfigurationSource<T>
Constructor and Description |
---|
YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader) |
Modifier and Type | Method and Description |
---|---|
void |
loadAndRegister(info.magnolia.resourceloader.Resource resource) |
protected void |
startDecoration() |
createMetadata, getRegistry, getResolvedDefinitionDecorators, getRootType, registerDefinitionDecoratorResolver, removeDefinitionsMatchingPath, start, type
public YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader)
pathPattern
- a regular expression pattern used to determine whether a file should be considered by the source or not. If the pattern contains a group, it will be used to determine the name of the given object, if not explicitly configured.protected void startDecoration()
startDecoration
in class AbstractFileResourceConfigurationSource<T>
public void loadAndRegister(info.magnolia.resourceloader.Resource resource)
loadAndRegister
in class AbstractFileResourceConfigurationSource<T>
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.