public final class TilesAccess extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_ATTRIBUTE
The name of the attribute to use when getting and setting the container
object in a context.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
public static final String CONTAINER_ATTRIBUTE
@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.Copyright © 2025. All rights reserved.