|
Weaver 3.1.0a1-D1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WeaverApplicationContext interface manages application scoped (context wide) values.
Method Summary | |
Object |
getAttribute(String name)
Gets an application scoped attribute. |
String |
getConfigValue(String name)
Retrieves a global/context-wide configuration value. |
Set |
getConfigValueNames()
Gets all configuration value names. |
String |
getInitParameter(String name)
Gets an application scoped init parameter. |
String |
getMimeType(String file)
Returns a MIME type of derived from a file name. |
String |
getRealPath(String thePath)
Returns a String containing the real path for a given virtual path. |
void |
removeAttribute(String name)
Removes an application scoped attribute. |
void |
setAttribute(String name,
Object value)
Sets an application scoped attribute. |
Method Detail |
public String getMimeType(String file)
file
- The name of the file from which to determine the MIME type.
public String getConfigValue(String name)
name
- Name of the config value to retrieve.
public Set getConfigValueNames()
public String getRealPath(String thePath)
thePath
- The virtual path.
public Object getAttribute(String name)
name
- The name of the attribute to be retrieved.
public void setAttribute(String name, Object value)
name
- The name of the attribute to set.value
- The value to set the attribute to.public void removeAttribute(String name)
name
- The name of the attribute to remove.public String getInitParameter(String name)
name
- of the parameter.
|
Copyright ©Paul Harvey | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |