|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.configuration.ConfigurationReader
public class ConfigurationReader
Reader for XML configuration files.
The configuration file describes the plugins and implementation classes used at runtime. Portions define which presenters and view implentations to use for editing policy elements while other sections describe plugins and additional tools supported by the editor.
Constructor Summary | |
---|---|
ConfigurationReader(ConfigurationSectionFactory factory,
URL url)
Creates a new configuration reader for the specified URL. |
Method Summary | |
---|---|
void |
configure(ClassSettings settings,
org.picocontainer.MutablePicoContainer pico)
Configures the specified pico container according to the configuration. |
void |
configure(ClassSettings settings,
org.picocontainer.MutablePicoContainer pico,
ClassLoader classLoader)
Configures the specified pico container according to the configuration. |
protected ConfigurationSection |
createSection(org.dom4j.Element element)
Creates a configuration section for the specified element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationReader(ConfigurationSectionFactory factory, URL url) throws ConfigurationException
factory
- the factory for configuration sections.url
- the URL to read the configuration from.
ConfigurationException
- in case the configuration cannot be read.Method Detail |
---|
protected ConfigurationSection createSection(org.dom4j.Element element) throws ConfigurationException
element
- the element to create the section for, must not be null
.
ConfigurationException
- if the factory cannot create a configuration section.public void configure(ClassSettings settings, org.picocontainer.MutablePicoContainer pico) throws ConfigurationException
settings
- object to store additional type based settings to.pico
- the pico container to configure, must not be null
.
ConfigurationException
- passed on.public void configure(ClassSettings settings, org.picocontainer.MutablePicoContainer pico, ClassLoader classLoader) throws ConfigurationException
settings
- object to store additional type based settings to.pico
- the pico container to configure, must not be null
.classLoader
- the class loader to use, must not be null
.
ConfigurationException
- passed on.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG