|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cisco.oss.foundation.monitoring.component.config.MonitorAndManagementSettings
public class MonitorAndManagementSettings
This class provides the default implementation for MonitorAndManagementSettings which exposes several bits of information which eases monitoring systems to easily discover and self configure how this component can be monitored and managed.
| Constructor Summary | |
|---|---|
MonitorAndManagementSettings()
|
|
| Method Summary | |
|---|---|
ControlSettings |
getControlSettings()
|
OtherSettings |
getOtherSettings()
|
static MonitorAndManagementSettings |
newInstance(String settingsXml)
Creates a new instance of MonitorAndManagementSettings from a classpath resource xml settings file. |
static MonitorAndManagementSettings |
newInstance(URL settingsXml)
Creates a new instance of MonitorAndManagementSettings from an URL to xml settings file. |
void |
setControlSettings(ControlSettings controlSettings)
Sets the settings which tells how this component can be controlled remotely. |
void |
setOtherSettings(OtherSettings otherSettings)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonitorAndManagementSettings()
| Method Detail |
|---|
public static MonitorAndManagementSettings newInstance(URL settingsXml)
throws IOException,
JAXBException
settingsXml - URL of the settings xml file
IOException
JAXBException
public static MonitorAndManagementSettings newInstance(String settingsXml)
throws JAXBException
settingsXml - Path of a classpath resource xml settings file
MonitorAndManagementSettings()
IOException
JAXBExceptionpublic ControlSettings getControlSettings()
getControlSettings in interface MonitorAndManagementSettingsMXBeanpublic void setControlSettings(ControlSettings controlSettings)
controlSettings - public OtherSettings getOtherSettings()
getOtherSettings in interface MonitorAndManagementSettingsMXBeanpublic void setOtherSettings(OtherSettings otherSettings)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||