|
||||||||||
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 | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getApplicationScope()
Returns a mutable Map that maps application scope attribute names to their values. |
java.util.Map<java.lang.String,java.lang.String> |
getInitParams()
Return an immutable Map that maps context application initialization parameters to their values. |
java.net.URL |
getResource(java.lang.String path)
Return a URL for the application resource mapped to the specified path. |
java.util.Set<java.net.URL> |
getResources(java.lang.String path)
Return a URL for the application resource mapped to the specified path. |
Method Detail |
---|
java.util.Map<java.lang.String,java.lang.Object> getApplicationScope()
java.util.Map<java.lang.String,java.lang.String> getInitParams()
java.net.URL getResource(java.lang.String path) throws java.io.IOException
path
- to the desired resource.
java.io.IOException
- if the path is malformedjava.util.Set<java.net.URL> getResources(java.lang.String path) throws java.io.IOException
path
- to the desired resource.
java.io.IOException
- if the url is illegal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |