public class PortletTilesRequestContextFactory extends Object implements TilesRequestContextFactory
TilesRequestContext
implementation under a portlet environment.Constructor and Description |
---|
PortletTilesRequestContextFactory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PortletTilesRequestContextFactory()
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.Copyright © 2016. All rights reserved.