org.openpermis.editor.policy.configuration
Class ConfigurationGroupSection

java.lang.Object
  extended by org.openpermis.editor.policy.configuration.ConfigurationElement
      extended by org.openpermis.editor.policy.configuration.ConfigurationSection
          extended by org.openpermis.editor.policy.configuration.ConfigurationGroupSection

public class ConfigurationGroupSection
extends ConfigurationSection

Section that only serves for grouping other generic or scoped sections.

Since:
0.9.0

Nested Class Summary
static class ConfigurationGroupSection.Factory
          Factory for group configuration sections.
 
Field Summary
 
Fields inherited from class org.openpermis.editor.policy.configuration.ConfigurationSection
ORDER
 
Constructor Summary
ConfigurationGroupSection(org.dom4j.Element element)
          Creates a new section element for the specified parameters.
 
Method Summary
 void addComponents(ConfigurationSectionFactory factory, ClassSettings settings, org.picocontainer.MutablePicoContainer pico, ClassLoader classLoader)
          Adds the component implementations listed in this section to the container specified.
protected  ConfigurationSection createSection(ConfigurationSectionFactory factory, org.dom4j.Element element)
          Creates a configuration section for the specified element.
 
Methods inherited from class org.openpermis.editor.policy.configuration.ConfigurationSection
addChild, addChildren
 
Methods inherited from class org.openpermis.editor.policy.configuration.ConfigurationElement
attributeValue, getElement, getParentValue, getPath, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationGroupSection

public ConfigurationGroupSection(org.dom4j.Element element)
Creates a new section element for the specified parameters.

Parameters:
element - the underlying DOM element.
Since:
0.9.0
Method Detail

createSection

protected ConfigurationSection createSection(ConfigurationSectionFactory factory,
                                             org.dom4j.Element element)
                                      throws ConfigurationException
Creates a configuration section for the specified element.

Parameters:
factory - the factory to create new configuration sections with.
element - the element to create the section for, must not be null.
Returns:
the configuration section requested.
Throws:
ConfigurationException - if the factory cannot create a configuration section.
Since:
0.9.0

addComponents

public void addComponents(ConfigurationSectionFactory factory,
                          ClassSettings settings,
                          org.picocontainer.MutablePicoContainer pico,
                          ClassLoader classLoader)
                   throws ConfigurationException
Description copied from class: ConfigurationSection
Adds the component implementations listed in this section to the container specified.

Specified by:
addComponents in class ConfigurationSection
Parameters:
factory - the factory to create new configuration sections if required.
settings - object to store additional type based settings to.
pico - the pico container to add components to, must not be null.
classLoader - the class loader to use, must not be null.
Throws:
ConfigurationException - passed on.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG