|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.jsf.config.Configuration
public final class Configuration
Webapp singleton instance used to hold the plugin's relevant information about current webapp faces' configuration.
| Field Summary | |
|---|---|
protected static String |
INSTANCE_KEY
Singleton instance key. |
| Constructor Summary | |
|---|---|
protected |
Configuration(javax.faces.context.ExternalContext context)
Constructor from a faces' external context. |
protected |
Configuration(javax.servlet.ServletContext context)
Constructor from a servlet context. |
| Method Summary | |
|---|---|
String |
getDefaultMapping()
Obtains the default faces' mapping. |
Collection<String> |
getFacesMappings()
Obtains the collection of faces' servlet mappings. |
static Configuration |
getInstance(javax.faces.context.ExternalContext context)
Obtains the singleton configuration instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String INSTANCE_KEY
| Constructor Detail |
|---|
protected Configuration(javax.servlet.ServletContext context)
throws ConfigurationException
context - a servlet context.
ConfigurationException - if application is not properly configured.
protected Configuration(javax.faces.context.ExternalContext context)
throws ConfigurationException
context - a faces' external context.
ConfigurationException - if application is not properly configured.| Method Detail |
|---|
public static Configuration getInstance(javax.faces.context.ExternalContext context)
throws ConfigurationException
If there is not any configuration instance preloaded, the application configuration files will be parsed and loaded into the application scope map.
context - current faces' external context
ConfigurationException - if application is not properly configured.public String getDefaultMapping()
public Collection<String> getFacesMappings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||