|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.portlet.context.PortletTilesRequestContextFactory
public class PortletTilesRequestContextFactory
Creates an instance of the appropriate TilesRequestContext
implementation under a portlet environment.
Constructor Summary | |
---|---|
PortletTilesRequestContextFactory()
Constructor. |
Method Summary | |
---|---|
TilesRequestContext |
createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context, request, and response. |
protected javax.portlet.PortletContext |
getPortletContext(TilesApplicationContext context)
Returns the original portlet context. |
void |
init(Map<String,String> configParameters)
Initializes the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletTilesRequestContextFactory()
Method Detail |
---|
public void init(Map<String,String> configParameters)
init
in interface Initializable
configParameters
- The map of parameters.public TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
createRequestContext
in interface TilesRequestContextFactory
context
- the associated TilesApplicationContext
requestItems
- the associated request items, typically a request and a response.
protected javax.portlet.PortletContext getPortletContext(TilesApplicationContext context)
context
- The application context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |