|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ConfigurationMBean interface
Field Summary | |
static java.lang.String |
MBEAN_NAME
MBean name |
Method Summary | |
ConfigurationInfo |
getConfiguration(java.lang.String name)
Returns the configuration instance given the name. |
void |
load(java.io.InputStream fileStream)
Load the configuration file. |
Field Detail |
public static final java.lang.String MBEAN_NAME
Method Detail |
public ConfigurationInfo getConfiguration(java.lang.String name)
name
- name of the configuration module.
public void load(java.io.InputStream fileStream) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, org.w3c.dom.DOMException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, ConfigurationException
fileStream
- input stream to the file.
java.io.IOException
- if there is an error accessing the file.
org.xml.sax.SAXException
- if there is an error parsing the file.
javax.xml.parsers.ParserConfigurationException
- if there is an invalid parser
configuration.
org.w3c.dom.DOMException
- if there is an error accessing the DOM tree.
java.lang.ClassNotFoundException
- if the parser class not found.
java.lang.InstantiationException
- if the parser can not be instantiated.
java.lang.IllegalAccessException
- if it is unable to access parser default
constructor.
ConfigurationException
- if it encounters unexpected values.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.