|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Repository
The public interface to the component repository. Created on 2004.10.02.
| Method Summary | |
|---|---|
ConfigurationStrategy |
getConfigurationStrategy()
|
List |
getObjectsFor(String classAlias)
Return a list of component which provides the specified type. |
boolean |
isCreateBackups()
When configuration are persisted, if it's set to true, than backup files will be created. |
void |
saveConfigurations(File file)
Save configuration to the specified directory . |
void |
setConfigurationStrategy(ConfigurationStrategy configurationStrategy)
|
void |
setCreateBackups(boolean createBackups)
When configuration are persisted, if it's set to true, than backup files will be created. |
void |
setPanicIfDuplicateFound(boolean panicIfDuplicates)
Throw exception if duplicate component name found. |
| Method Detail |
|---|
List getObjectsFor(String classAlias)
classAlias -
void setPanicIfDuplicateFound(boolean panicIfDuplicates)
panicIfDuplicates - The panicIfDuplicates to set.ConfigurationStrategy getConfigurationStrategy()
void setConfigurationStrategy(ConfigurationStrategy configurationStrategy)
configurationStrategy - The configurationStrategy to set.void setCreateBackups(boolean createBackups)
createBackups - The createBackups to set.boolean isCreateBackups()
void saveConfigurations(File file)
throws ContainerException
file - The directory.
ContainerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||