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 InitializableconfigParameters - The map of parameters.public TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
createRequestContext in interface TilesRequestContextFactorycontext - the associated TilesApplicationContextrequestItems - the associated request items, typically a request and a response.protected javax.portlet.PortletContext getPortletContext(TilesApplicationContext context)
context - The application context.Copyright © 2025. All rights reserved.