Home » tiles-2.2.1-src » org.apache » tiles » access » [javadoc | source]
org.apache.tiles.access
public final class: TilesAccess [javadoc | source]
java.lang.Object
   org.apache.tiles.access.TilesAccess
Provides static access to the tiles container.
Field Summary
public static final  String CONTAINER_ATTRIBUTE    The name of the attribute to use when getting and setting the container object in a context. 
Method from org.apache.tiles.access.TilesAccess Summary:
getApplicationContext,   getContainer,   setContainer,   setContainer,   setContainer
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.access.TilesAccess Detail:
 public static TilesApplicationContext getApplicationContext(Object context) 
Deprecated! Use - one of the environment-specific Utilities (e.g. ServletUtil).

    Returns the Tiles application context object.
 public static TilesContainer getContainer(Object context) 
Deprecated! Use - one of the environment-specific Utilities (e.g. ServletUtil).

    Finds and returns the default Tiles container object, if it was previously initialized.
 public static  void setContainer(TilesApplicationContext context,
    TilesContainer container) 
    Configures the default container to be used in the application.
 public static  void setContainer(Object context,
    TilesContainer container) 
Deprecated! Use - #setContainer(TilesApplicationContext, TilesContainer) .

    Configures the default container to be used in the application.
 public static  void setContainer(TilesApplicationContext context,
    TilesContainer container,
    String key) 
    Configures the container to be used in the application.