META-INF/snitch.properties file format: | |
Key | Description |
annotation-class | Fully qualified class name to the annotation class to use |
naming-strategy-class | Fully qualified class name of the naming strategy class to use |
default-formatter-class | Fully qualified name of the default formatter to use |
packages | Comma separated list of packages that should be scanned |
META-INF/snitch-formatters.properties file format: | |
Class to format | Formatter class |
Fully qualified class name of the formatter class to use |
Centralized location for defaults for all Configuration properties. This implementation does not lookup configuration information anywhere! It returns hard-coded defaults that will result in a working system without any user intervention.
Despite it's name the DefaultConfiguration is not in fact the default Configuration implementation in Stripes! Instead it is the retainer of default configuration values. The Configuration implementation that is used when no alternative is configured is the {@link RuntimeConfiguration}, which is a direct subclass of DefaultConfiguration, and when no further configuration properties are supplied behaves identically to the DefaultConfiguration.
The DefaultConfiguration is designed to be easily extended as needed. The init() method ensures that components are initialized in the correct order (taking dependencies into account), and should generally not be overridden. It invokes a number of initXXX() methods, one per configurable component. Subclasses should override any of the initXXX() methods desirable to return a fully initialized instance of the relevant component type, or null if the default is desired.
@author Tim FennellConfiguration
implementation.
@author Avalon Development Team
@version CVS $Revision: 1.43 $ $Date: 2004/02/11 14:34:25 $
Application { LoginModuleClass Flag [Options ...]; LoginModuleClass Flag [Options ...]; };
Configuration
.
@author bob mcwhirter
@version $Id: DefaultConfiguration.java,v 1.2 2004/09/17 00:25:09 mproctorExp $
The DefaultConfiguration
@author Lukas Eder
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|