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)
Deprecated.
|
YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin,
info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader,
info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties) |
Modifier and Type | Method and Description |
---|---|
void |
loadAndRegister(info.magnolia.resourceloader.Resource resource) |
protected void |
startDecoration() |
createMetadata, getRegistry, getResolvedDefinitionDecorators, getRootType, registerDefinitionDecoratorResolver, removeDefinitionsMatchingPath, start, type
@Deprecated public YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader)
YamlConfigurationSource(ResourceOrigin, Map2BeanTransformer, Registry, Pattern, YamlReader, MagnoliaConfigurationProperties)
instead.public YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin, info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader, info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties)
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.