|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants
org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Configurator
public class Configurator
Reads the configuration from the XML configuration file.
| Field Summary |
|---|
| Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants |
|---|
DOUBLE, GRAPH_CONFIG_PATH, LONG, TIME |
| Fields inherited from interface org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Configuration |
|---|
DEFAULT_ABSCISS_COLUMN, DEFAULT_DATE_FORMAT, DEFAULT_MBEAN_COLUMN, DEFAULT_SEPARATOR |
| Constructor Summary | |
|---|---|
Configurator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAbscissColumn()
Implementation of inherited method. |
java.text.SimpleDateFormat |
getDateFormat()
Implementation of inherited method. |
static java.io.LineNumberReader |
getDTD()
|
GraphConfig |
getGraphConfig(java.lang.String id)
Implementation of inherited method. |
java.lang.String[] |
getGraphIds()
Implementation of inherited method. |
java.lang.String |
getSeparator()
Implementation of inherited method. |
SerieConfig |
getSerieConfig(java.lang.String id)
Implementation of inherited method. |
java.lang.String[] |
getSerieIds()
Implementation of inherited method. |
void |
loadConfig(java.lang.String conf)
Implementation of inherited method. |
static void |
main(java.lang.String[] args)
Tests the Configurator implementation. |
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Configurator()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - Ignored.public SerieConfig getSerieConfig(java.lang.String id)
getSerieConfig in interface Configurationid - Series id.
Configuration.getSerieConfig(java.lang.String)public java.lang.String[] getSerieIds()
getSerieIds in interface ConfigurationConfiguration.getSerieIds()public GraphConfig getGraphConfig(java.lang.String id)
getGraphConfig in interface Configurationid - Graph id.
Configuration.getGraphConfig(java.lang.String)public java.lang.String[] getGraphIds()
getGraphIds in interface ConfigurationConfiguration.getGraphIds()public void loadConfig(java.lang.String conf)
loadConfig in interface Configurationconf - Configuration file path. If null, the file path is set to
the GRAPH_CONFIG_PATH system property.Configuration.loadConfig(java.lang.String)public static java.io.LineNumberReader getDTD()
public java.lang.String getSeparator()
getSeparator in interface ConfigurationConfiguration.getSeparator()public java.lang.String getAbscissColumn()
getAbscissColumn in interface ConfigurationConfiguration.getAbscissColumn()public java.text.SimpleDateFormat getDateFormat()
getDateFormat in interface ConfigurationConfiguration.getDateFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||