|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TilesApplicationContext
Defines a set of methods which tiles use to communicate to the tiles container and runtime environment. There is only one application context per container.
Method Summary | |
---|---|
Map<String,Object> |
getApplicationScope()
Returns a mutable Map that maps application scope attribute names to their values. |
Object |
getContext()
Returns the original, technology-dependent, context. |
Map<String,String> |
getInitParams()
Return an immutable Map that maps context application initialization parameters to their values. |
URL |
getResource(String path)
Return a URL for the application resource mapped to the specified path. |
Set<URL> |
getResources(String path)
Return a URL for the application resource mapped to the specified path. |
Method Detail |
---|
Object getContext()
Map<String,Object> getApplicationScope()
Map<String,String> getInitParams()
URL getResource(String path) throws IOException
path
- to the desired resource.
IOException
- if the path is malformedSet<URL> getResources(String path) throws IOException
path
- to the desired resource.
IOException
- if the url is illegal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |