public class PortletApplicationContext extends Object implements ApplicationContext
| Modifier and Type | Field and Description |
|---|---|
protected javax.portlet.PortletContext |
context
The
PortletContext for this web application. |
| Constructor and Description |
|---|
PortletApplicationContext(javax.portlet.PortletContext context)
Creates a new instance of PortletTilesApplicationContext.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getApplicationScope() |
Object |
getContext() |
Map<String,String> |
getInitParams() |
javax.portlet.PortletContext |
getPortletContext()
Return the
PortletContext for this context. |
ApplicationResource |
getResource(ApplicationResource base,
Locale locale) |
ApplicationResource |
getResource(String localePath) |
Collection<ApplicationResource> |
getResources(String path) |
void |
initialize(javax.portlet.PortletContext context)
Initialize (or reinitialize) this
PortletApplicationContext instance
for the specified Portlet API objects. |
protected javax.portlet.PortletContext context
The PortletContext for this web application.
public PortletApplicationContext(javax.portlet.PortletContext context)
context - The portlet context to use.public Object getContext()
getContext in interface ApplicationContextpublic void initialize(javax.portlet.PortletContext context)
Initialize (or reinitialize) this PortletApplicationContext instance
for the specified Portlet API objects.
context - The PortletContext for this web applicationpublic javax.portlet.PortletContext getPortletContext()
Return the PortletContext for this context.
public Map<String,Object> getApplicationScope()
getApplicationScope in interface ApplicationContextpublic Map<String,String> getInitParams()
getInitParams in interface ApplicationContextpublic ApplicationResource getResource(String localePath)
getResource in interface ApplicationContextpublic ApplicationResource getResource(ApplicationResource base, Locale locale)
getResource in interface ApplicationContextpublic Collection<ApplicationResource> getResources(String path)
getResources in interface ApplicationContextCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.