org.apache.qpid.server.security.access.config
Interface ConfigurationFile

All Known Implementing Classes:
AbstractConfiguration, PlainConfiguration, XMLConfiguration

public interface ConfigurationFile


Method Summary
 RuleSet getConfiguration()
           
 File getFile()
          Return the actual File object containing the configuration.
 RuleSet load()
          Load this configuration file's contents into a RuleSet.
 RuleSet reload()
          Reload this configuration file's contents.
 boolean save(RuleSet configuration)
          TODO document me.
 

Method Detail

getFile

File getFile()
Return the actual File object containing the configuration.


load

RuleSet load()
             throws ConfigurationException
Load this configuration file's contents into a RuleSet.

Throws:
ConfigurationException - if the configuration file has errors.
IllegalArgumentException - if individual tokens cannot be parsed.

reload

RuleSet reload()
               throws ConfigurationException
Reload this configuration file's contents.

Throws:
ConfigurationException - if the configuration file has errors.
IllegalArgumentException - if individual tokens cannot be parsed.

getConfiguration

RuleSet getConfiguration()

save

boolean save(RuleSet configuration)
TODO document me.



Licensed to the Apache Software Foundation