|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.xml.nut.Nut
jfun.yan.xml.nut.ComponentNut
jfun.yan.xml.nuts.ArgumentsAndPropertiesNut
jfun.yan.xml.nuts.MethodNut
jfun.yan.web.WebMethodNut
public class WebMethodNut
This class simply extends MethodNut and set servlet context to components with the specified setter that accepts an ServletContext object.
The default setter name is "setServletContext".
| Constructor Summary | |
|---|---|
WebMethodNut()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getServlet_context_property()
|
protected Component |
informAwares(Component c)
In case the component implements any marker interface or has any specific method signature that is used to automatically set property, call them and set the corresponding properties. |
void |
setServlet_context_property(java.lang.String servlet_context_name)
|
| Methods inherited from class jfun.yan.xml.nuts.MethodNut |
|---|
add, eval, evaluateNoLifecycle, getDisposer, getInitializer, getName, getStarter, getStopper, isPrivate_access, setClass, setComponent, setDisposer, setInitializer, setName, setPrivate_access, setStarter, setStopper |
| Methods inherited from class jfun.yan.xml.nut.Nut |
|---|
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jfun.yan.xml.nuts.LifecycleDeclaration |
|---|
getNutEnvironment, getTagLocation |
| Constructor Detail |
|---|
public WebMethodNut()
| Method Detail |
|---|
public java.lang.String getServlet_context_property()
public void setServlet_context_property(java.lang.String servlet_context_name)
protected Component informAwares(Component c)
ArgumentsAndPropertiesNut
informAwares in class ArgumentsAndPropertiesNutc - the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||