|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tiles.servlet.context.ServletTilesApplicationContext
public class ServletTilesApplicationContext
Servlet-based implementation of the TilesApplicationContext interface.
| Constructor Summary | |
|---|---|
ServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
Creates a new instance of ServletTilesApplicationContext. |
|
| Method Summary | |
|---|---|
TilesRequestContext |
createRequestContext(java.lang.Object request,
java.lang.Object response)
Deprecated. Use TilesRequestContextFactory.createRequestContext(TilesApplicationContext, Object...)
. |
java.util.Map<java.lang.String,java.lang.Object> |
getApplicationScope()
|
java.lang.Object |
getContext()
|
java.util.Map<java.lang.String,java.lang.String> |
getInitParams()
|
java.net.URL |
getResource(java.lang.String path)
|
java.util.Set<java.net.URL> |
getResources(java.lang.String path)
|
javax.servlet.ServletContext |
getServletContext()
Deprecated. Use getContext(). |
void |
initialize(javax.servlet.ServletContext context)
Initialize (or reinitialize) this TilesApplicationContext instance
for the specified Servlet 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 |
| Constructor Detail |
|---|
public ServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
servletContext - The servlet context to use.| Method Detail |
|---|
public java.lang.Object getContext()
getContext in interface TilesApplicationContextpublic java.util.Map<java.lang.String,java.lang.Object> getApplicationScope()
getApplicationScope in interface TilesApplicationContextpublic java.util.Map<java.lang.String,java.lang.String> getInitParams()
getInitParams in interface TilesApplicationContext
public java.net.URL getResource(java.lang.String path)
throws java.io.IOException
getResource in interface TilesApplicationContextjava.io.IOException
public java.util.Set<java.net.URL> getResources(java.lang.String path)
throws java.io.IOException
getResources in interface TilesApplicationContextjava.io.IOExceptionpublic javax.servlet.ServletContext getServletContext()
getContext().
public void initialize(javax.servlet.ServletContext context)
Initialize (or reinitialize) this TilesApplicationContext instance
for the specified Servlet API objects.
context - The ServletContext 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 TilesRequestContext createRequestContext(java.lang.Object request,
java.lang.Object response)
TilesRequestContextFactory.createRequestContext(TilesApplicationContext, Object...)
.
request - The request object.response - The response object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||