|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.init.DefaultMagnoliaPropertiesResolver
@Singleton public class DefaultMagnoliaPropertiesResolver
Resolves the paths of the properties file to load by using the "magnolia.initialization.file" context init parameter.
Field Summary | |
---|---|
protected static String |
DEFAULT_INITIALIZATION_PARAMETER
Default value for the MAGNOLIA_INITIALIZATION_FILE parameter. |
protected static String |
MAGNOLIA_INITIALIZATION_FILE
Context parameter name. |
Constructor Summary | |
---|---|
DefaultMagnoliaPropertiesResolver(javax.servlet.ServletContext context,
MagnoliaInitPaths initPaths)
|
Method Summary | |
---|---|
protected String |
getInitParameter(javax.servlet.ServletContext ctx,
String name,
String defaultValue)
|
protected List<String> |
getLocations()
Used in tests, potentially in subclasses. |
List<PropertySource> |
getSources()
Returns the paths to load, TODO: in which order ? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String MAGNOLIA_INITIALIZATION_FILE
protected static final String DEFAULT_INITIALIZATION_PARAMETER
Constructor Detail |
---|
@Inject public DefaultMagnoliaPropertiesResolver(javax.servlet.ServletContext context, MagnoliaInitPaths initPaths)
Method Detail |
---|
protected String getInitParameter(javax.servlet.ServletContext ctx, String name, String defaultValue)
protected List<String> getLocations()
public List<PropertySource> getSources()
MagnoliaPropertiesResolver
getSources
in interface MagnoliaPropertiesResolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |