Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.mdm.index.configurator
Interface ConfigurationMBean

All Known Implementing Classes:
  ConfigurationService

public interface ConfigurationMBean

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

### MBEAN_NAME

    public static final java.lang.String MBEAN_NAME

  MBean name

  See Also:
    Constant Field Values

Method Detail

### getConfiguration

    public ConfigurationInfo getConfiguration(java.lang.String name)

  Returns the configuration instance given the name.

  Parameters:
    `name` - name of the configuration module.
  Returns:
    returns the configuration instance given the name.

### load

    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

  Load the configuration file.

  Parameters:
    `fileStream` - input stream to the file.
  Throws:
    `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.

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Sun Microsystems, Inc.