|
||||||||||
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)
Returns the Tiles application context object. |
static TilesContainer |
getContainer(Object context)
Finds and returns a Tiles container object, if it was previously initialized. |
static void |
setContainer(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 String CONTAINER_ATTRIBUTE
Method Detail |
---|
public static TilesContainer getContainer(Object context)
context
- The (application) context object to use.
null
.setContainer(Object, TilesContainer)
public static void setContainer(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(Object context)
context
- The (application) context to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |