|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.configuration.ConfigurationSectionTrader
public class ConfigurationSectionTrader
Trader for multiple configuration section factories.
Constructor Summary | |
---|---|
ConfigurationSectionTrader()
Creates a new initially empty trader. |
Method Summary | |
---|---|
protected void |
addFactory(ConfigurationSectionFactory factory)
Adds the specified factory to the list of factories. |
void |
addGenericFactory(String name,
boolean caching)
Adds a generic section factory for elements with the specified name. |
void |
addGroupFactory(String name)
Adds a group section factory for elements with the specified name. |
void |
addScopedFactory(String name,
Class<?> scope)
Adds a scoped section factory for elements with the specified name. |
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 ConfigurationSectionTrader()
Method Detail |
---|
public void addGroupFactory(String name)
name
- the name of the element to match.public void addGenericFactory(String name, boolean caching)
name
- the name of the element to match.caching
- indicates if the configuration section is created with caching or not.public void addScopedFactory(String name, Class<?> scope)
name
- the name of the element to match.scope
- the scope class for child implementations.protected void addFactory(ConfigurationSectionFactory factory)
factory
- the factory to add.public ConfigurationSection createSection(org.dom4j.Element element)
ConfigurationSectionFactory
createSection
in interface ConfigurationSectionFactory
element
- the element to create the section for, must not be null
.
null
if this factory cannot create
a section for this element.
|
![]() |
||||||||
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