|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configuration
Configuration object that provides component implementations and their configurations.
Method Summary | |
---|---|
void |
addFactoryAdapter(org.picocontainer.ComponentAdapter<?> componentAdapter)
Adds a component adapter to the factory container. |
void |
addFactoryComponent(Object implOrInstance)
Adds a component implementation or instance to the factory container. |
void |
addFactoryComponent(Object componentKey,
Object implOrInstance)
Adds a component implementation or instance to the factory container with a key. |
ApplicationView |
createApplicationView()
Returns a new instance of the application view configured. |
List<Class<?>> |
getOrder(String section)
Returns the order in which implementation classes of the specified section have been listed. |
Object |
getSetting(Object type,
String key)
Returns the setting value for the specified type and key. |
Methods inherited from interface org.openpermis.editor.policy.configuration.ComponentFactory |
---|
canCreate, create, create, instances |
Method Detail |
---|
void addFactoryComponent(Object implOrInstance)
Implementation classes will be added without caching.
implOrInstance
- the component implementation or instance add.void addFactoryComponent(Object componentKey, Object implOrInstance)
Implementation classes will be added without caching.
componentKey
- the component key to use.implOrInstance
- the component implementation or instance add.void addFactoryAdapter(org.picocontainer.ComponentAdapter<?> componentAdapter)
componentAdapter
- the component adapter to add.List<Class<?>> getOrder(String section)
section
- the section as it appears in the configuration file.
null
for inexistent sections.ApplicationView createApplicationView()
Object getSetting(Object type, String key)
type
- the class for which to retrieve the value of key.key
- the key for which to retrieve the value.
null
if undefined.
|
![]() |
||||||||
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