|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.web.WebUtils
public class WebUtils
Web integration related utilities.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_SERVLET_CONTEXT_PROPERTY
The default property name for receiving ServletContext instance. |
| Constructor Summary | |
|---|---|
WebUtils()
|
|
| Method Summary | |
|---|---|
static Component |
setPossibleServletContext(Component c,
java.lang.String name,
ArgumentsAndPropertiesNut nut)
Wrap a Component to set the service object identified by YanLoader.SERVLET_CONTEXT_KEY to the specified property. |
| 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 DEFAULT_SERVLET_CONTEXT_PROPERTY
| Constructor Detail |
|---|
public WebUtils()
| Method Detail |
|---|
public static final Component setPossibleServletContext(Component c,
java.lang.String name,
ArgumentsAndPropertiesNut nut)
YanLoader.SERVLET_CONTEXT_KEY to the specified property.
Nothing happens if the property cannot be found, or if the property type doesn't match or if the property is already explicitly specified in the tag or if the property is implied by a wildcard.
c - The Component object to wrap.name - the property name.nut - the Nut object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||