public class ConfigurationLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HAWKULAR_APM_CONFIG
The system property that optional contains the location of the configuration
|
| Constructor and Description |
|---|
ConfigurationLoader() |
| Modifier and Type | Method and Description |
|---|---|
static CollectorConfiguration |
getConfiguration(String type)
This method returns the collector configuration.
|
protected static Path |
getPath(int startindex,
String[] uriParts)
This method constructs a path based on potentially accessing
one or more archive files (jar/war).
|
protected static CollectorConfiguration |
loadConfig(String uri,
String type)
This method loads the configuration from the supplied URI.
|
public static final String HAWKULAR_APM_CONFIG
public static CollectorConfiguration getConfiguration(String type)
type - The type, or null if default (jvm)protected static CollectorConfiguration loadConfig(String uri, String type)
uri - The URItype - The type, or null if default (jvm)Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.