|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.portlet.context.PortletTilesContextFactory
public class PortletTilesContextFactory
Creates an instance of the appropriate TilesApplicationContext implementation.
Constructor Summary | |
---|---|
PortletTilesContextFactory()
|
Method Summary | |
---|---|
TilesApplicationContext |
createApplicationContext(Object context)
Create a TilesApplicationContext for the given context. |
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)
Initialize the factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletTilesContextFactory()
Method Detail |
---|
public void init(Map<String,String> configParameters)
init
in interface TilesContextFactory
configParameters
- A map of parameters.public TilesApplicationContext createApplicationContext(Object context)
createApplicationContext
in interface TilesContextFactory
context
- The (application) context to use.
public TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
createRequestContext
in interface TilesContextFactory
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 |