|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.tiles.access.TilesAccess
public class TilesAccess
Provides static access to the tiles container.
| Field Summary | |
|---|---|
static java.lang.String |
CONTAINER_ATTRIBUTE
The name of the attribute to use when getting and setting the container object in a context. |
| Constructor Summary | |
|---|---|
TilesAccess()
|
|
| Method Summary | |
|---|---|
static TilesApplicationContext |
getApplicationContext(java.lang.Object context)
Returns the Tiles application context object. |
static TilesContainer |
getContainer(java.lang.Object context)
Finds and returns a Tiles container object, if it was previously initialized. |
static void |
setContainer(java.lang.Object context,
TilesContainer container)
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 java.lang.String CONTAINER_ATTRIBUTE
| Constructor Detail |
|---|
public TilesAccess()
| Method Detail |
|---|
public static TilesContainer getContainer(java.lang.Object context)
context - The (application) context object to use.
null.setContainer(Object, TilesContainer)
public static void setContainer(java.lang.Object context,
TilesContainer container)
throws TilesException
context - The (application) context object to use.container - The container object to set.
TilesException - If something goes wrong during manipulation of the
context.public static TilesApplicationContext getApplicationContext(java.lang.Object context)
context - The (application) context to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||