public class ClassPathRegistryBootstrapDiscoverer extends Object implements RegistryBootstrapDiscoverer
Looks for bootstrap properties in resources named META-INF/services/org/mule/config/registry-bootstrap.properties inside the classpath.
All found properties resources are collected and loaded during the discovery process.
Properties are returned in the same order they were found in the classpath.
If while loading some properties resource an exception occurs the whole process is interrupted and a
BootstrapException
exception is raised.
Constructor and Description |
---|
ClassPathRegistryBootstrapDiscoverer() |
public ClassPathRegistryBootstrapDiscoverer()
public List<Properties> discover() throws BootstrapException
discover
in interface RegistryBootstrapDiscoverer
BootstrapException
- if a problem occurs during the discovery process.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.