T
- type the source will providepublic class YamlConfigurationSource<T> extends AbstractFileResourceConfigurationSource<T>
Constructor and Description |
---|
YamlConfigurationSource(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader) |
Modifier and Type | Method and Description |
---|---|
void |
loadAndRegister(Resource resource) |
createMetadata, getRegistry, getRootType, start, type
public YamlConfigurationSource(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader) throws IOException
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.IOException
public void loadAndRegister(Resource resource)
loadAndRegister
in class AbstractFileResourceConfigurationSource<T>
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.