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

java.lang.Objectorg.apache.tiles.portlet.context.PortletTilesApplicationContext
org.apache.tiles.portlet.context.wildcard.WildcardPortletTilesApplicationContext
public class WildcardPortletTilesApplicationContext
Portlet-based implementation of the TilesApplicationContext interface that can resolve resources even using wildcards.
| Field Summary | |
|---|---|
protected org.springframework.core.io.support.ResourcePatternResolver |
resolver
The pattern resolver. |
| Fields inherited from class org.apache.tiles.portlet.context.PortletTilesApplicationContext |
|---|
context |
| Constructor Summary | |
|---|---|
WildcardPortletTilesApplicationContext(javax.portlet.PortletContext portletContext)
Constructor. |
|
| Method Summary | |
|---|---|
java.net.URL |
getResource(java.lang.String path)
Return a URL for the application resource mapped to the specified path. |
java.util.Set<java.net.URL> |
getResources(java.lang.String path)
Return a URL for the application resource mapped to the specified path. |
void |
initialize(javax.portlet.PortletContext context)
Initialize (or reinitialize) this PortletTilesApplicationContext instance
for the specified Portlet API objects. |
| Methods inherited from class org.apache.tiles.portlet.context.PortletTilesApplicationContext |
|---|
createRequestContext, getApplicationScope, getContext, getInitParams, getPortletContext, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.springframework.core.io.support.ResourcePatternResolver resolver
| Constructor Detail |
|---|
public WildcardPortletTilesApplicationContext(javax.portlet.PortletContext portletContext)
portletContext - The portlet context.| Method Detail |
|---|
public void initialize(javax.portlet.PortletContext context)
Initialize (or reinitialize) this PortletTilesApplicationContext instance
for the specified Portlet API objects.
initialize in class PortletTilesApplicationContextcontext - The PortletContext for this web application
public java.net.URL getResource(java.lang.String path)
throws java.io.IOException
getResource in interface TilesApplicationContextgetResource in class PortletTilesApplicationContextpath - to the desired resource.
java.io.IOException - if the path is malformed
public java.util.Set<java.net.URL> getResources(java.lang.String path)
throws java.io.IOException
getResources in interface TilesApplicationContextgetResources in class PortletTilesApplicationContextpath - to the desired resource.
java.io.IOException - if the url is illegal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||