|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tiles.request.ApplicationContextWrapper
public class ApplicationContextWrapper
Delegate for ease of customization.
| Constructor Summary | |
|---|---|
ApplicationContextWrapper(ApplicationContext 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. |
ApplicationResource |
getResource(ApplicationResource base,
Locale locale)
Return a localized version of an ApplicationResource. |
ApplicationResource |
getResource(String localePath)
Return the application resource mapped to the specified path. |
Collection<ApplicationResource> |
getResources(String path)
Return the application resources mapped to the specified path. |
ApplicationContext |
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 ApplicationContextWrapper(ApplicationContext context)
context - The original context.| Method Detail |
|---|
public ApplicationContext getWrappedApplicationContext()
public Map<String,Object> getApplicationScope()
getApplicationScope in interface ApplicationContextpublic Object getContext()
getContext in interface ApplicationContextpublic Map<String,String> getInitParams()
getInitParams in interface ApplicationContextpublic ApplicationResource getResource(String localePath)
getResource in interface ApplicationContextlocalePath - path to the desired resource, including the Locale suffix.
public ApplicationResource getResource(ApplicationResource base,
Locale locale)
getResource in interface ApplicationContextbase - the ApplicationResource.locale - the desired Locale.
public Collection<ApplicationResource> getResources(String path)
getResources in interface ApplicationContextpath - to the desired resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||