|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.portlet.context.PortletTilesApplicationContext
public class PortletTilesApplicationContext
Portlet-based TilesApplicationContext implementation.
Field Summary | |
---|---|
protected javax.portlet.PortletContext |
context
The PortletContext for this web application. |
Constructor Summary | |
---|---|
PortletTilesApplicationContext(javax.portlet.PortletContext context)
Creates a new instance of PortletTilesApplicationContext. |
Method Summary | |
---|---|
TilesRequestContext |
createRequestContext(java.lang.Object request,
java.lang.Object response)
Creates a portlet context for a given request/response pair. |
java.util.Map<java.lang.String,java.lang.Object> |
getApplicationScope()
|
java.util.Map<java.lang.String,java.lang.String> |
getInitParams()
|
javax.portlet.PortletContext |
getPortletContext()
Return the PortletContext for this context. |
java.net.URL |
getResource(java.lang.String path)
|
java.util.Set<java.net.URL> |
getResources(java.lang.String path)
|
void |
initialize(javax.portlet.PortletContext context)
Initialize (or reinitialize) this PortletTilesApplicationContext instance
for the specified Portlet API objects. |
void |
release()
Release references to allocated resources acquired in initialize() of via subsequent processing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.portlet.PortletContext context
The PortletContext
for this web application.
Constructor Detail |
---|
public PortletTilesApplicationContext(javax.portlet.PortletContext context)
context
- The portlet context to use.Method Detail |
---|
public void initialize(javax.portlet.PortletContext context)
Initialize (or reinitialize) this PortletTilesApplicationContext
instance
for the specified Portlet API objects.
context
- The PortletContext
for this web applicationpublic void release()
Release references to allocated resources acquired in
initialize()
of via subsequent processing. After this
method is called, subsequent calls to any other method than
initialize()
will return undefined results.
public javax.portlet.PortletContext getPortletContext()
Return the PortletContext
for this context.
public java.util.Map<java.lang.String,java.lang.Object> getApplicationScope()
getApplicationScope
in interface org.apache.tiles.TilesApplicationContext
public java.util.Map<java.lang.String,java.lang.String> getInitParams()
getInitParams
in interface org.apache.tiles.TilesApplicationContext
public java.net.URL getResource(java.lang.String path) throws java.net.MalformedURLException
getResource
in interface org.apache.tiles.TilesApplicationContext
java.net.MalformedURLException
public java.util.Set<java.net.URL> getResources(java.lang.String path) throws java.net.MalformedURLException
getResources
in interface org.apache.tiles.TilesApplicationContext
java.net.MalformedURLException
public TilesRequestContext createRequestContext(java.lang.Object request, java.lang.Object response)
request
- The request object.response
- The response object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |