org.apache.tiles.context
Class TilesApplicationContextWrapper

java.lang.Object
  extended by org.apache.tiles.context.TilesApplicationContextWrapper
All Implemented Interfaces:
TilesApplicationContext

public class TilesApplicationContextWrapper
extends java.lang.Object
implements TilesApplicationContext

Delegate for ease of customization.

Since:
Tiles 2.1.1
Version:
$Rev: 950476 $ $Date: 2010-06-02 12:31:43 +0200 (mer, 02 giu 2010) $

Constructor Summary
TilesApplicationContextWrapper(TilesApplicationContext context)
          Constructor.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getApplicationScope()
          
 java.lang.Object getContext()
          
 java.util.Map<java.lang.String,java.lang.String> getInitParams()
          
 java.net.URL getResource(java.lang.String path)
          
 java.util.Set<java.net.URL> getResources(java.lang.String path)
          
 TilesApplicationContext getWrappedApplicationContext()
          Returns the wrapped application context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TilesApplicationContextWrapper

public TilesApplicationContextWrapper(TilesApplicationContext context)
Constructor.

Parameters:
context - The original context.
Method Detail

getWrappedApplicationContext

public TilesApplicationContext getWrappedApplicationContext()
Returns the wrapped application context.

Returns:
The wrapped application context.

getApplicationScope

public java.util.Map<java.lang.String,java.lang.Object> getApplicationScope()

Specified by:
getApplicationScope in interface TilesApplicationContext

getContext

public java.lang.Object getContext()

Specified by:
getContext in interface TilesApplicationContext

getInitParams

public java.util.Map<java.lang.String,java.lang.String> getInitParams()

Specified by:
getInitParams in interface TilesApplicationContext

getResource

public java.net.URL getResource(java.lang.String path)
                         throws java.io.IOException

Specified by:
getResource in interface TilesApplicationContext
Throws:
java.io.IOException

getResources

public java.util.Set<java.net.URL> getResources(java.lang.String path)
                                         throws java.io.IOException

Specified by:
getResources in interface TilesApplicationContext
Throws:
java.io.IOException


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.