|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.access.TilesAccess
public final class TilesAccess
Provides static access to the tiles container.
Field Summary | |
---|---|
static String |
CONTAINER_ATTRIBUTE
The name of the attribute to use when getting and setting the container object in a context. |
Method Summary | |
---|---|
static TilesApplicationContext |
getApplicationContext(Object context)
Deprecated. Use one of the environment-specific Utilities (e.g. ServletUtil). |
static TilesContainer |
getContainer(Object context)
Deprecated. Use one of the environment-specific Utilities (e.g. ServletUtil). |
static void |
setContainer(Object context,
TilesContainer container)
Deprecated. Use setContainer(TilesApplicationContext, TilesContainer) . |
static void |
setContainer(TilesApplicationContext context,
TilesContainer container)
Configures the default container to be used in the application. |
static void |
setContainer(TilesApplicationContext context,
TilesContainer container,
String key)
Configures the container to be used in the application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONTAINER_ATTRIBUTE
Method Detail |
---|
@Deprecated public static TilesContainer getContainer(Object context)
context
- The (application) context object to use.
null
.setContainer(Object, TilesContainer)
public static void setContainer(TilesApplicationContext context, TilesContainer container)
context
- The Tiles application context object to use.container
- The container object to set.
TilesAccessException
- If something goes wrong during manipulation of the
context.public static void setContainer(TilesApplicationContext context, TilesContainer container, String key)
context
- The Tiles application context object to use.container
- The container object to set.key
- The key under which the container will be stored.
TilesAccessException
- If something goes wrong during manipulation of the
context.@Deprecated public static void setContainer(Object context, TilesContainer container)
setContainer(TilesApplicationContext, TilesContainer)
.
context
- The (application) context object to use.container
- The container object to set.
TilesAccessException
- If something goes wrong during manipulation of the
context.@Deprecated public static TilesApplicationContext getApplicationContext(Object context)
context
- The (application) context to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |