|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.context.TilesApplicationContextWrapper
public class TilesApplicationContextWrapper
Delegate for ease of customization.
| Constructor Summary | |
|---|---|
TilesApplicationContextWrapper(TilesApplicationContext context)
Constructor. |
|
| 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. |
TilesApplicationContext |
getWrappedApplicationContext()
Returns the wrapped application context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TilesApplicationContextWrapper(TilesApplicationContext context)
context - The original context.| Method Detail |
|---|
public TilesApplicationContext getWrappedApplicationContext()
public Map<String,Object> getApplicationScope()
getApplicationScope in interface TilesApplicationContextpublic Object getContext()
getContext in interface TilesApplicationContextpublic Map<String,String> getInitParams()
getInitParams in interface TilesApplicationContext
public URL getResource(String path)
throws IOException
getResource in interface TilesApplicationContextpath - to the desired resource.
IOException - if the path is malformed
public Set<URL> getResources(String path)
throws IOException
getResources in interface TilesApplicationContextpath - 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 | |||||||||