|
||||||||||
| 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.ConstructorNut
jfun.yan.web.WebCtorNut
public class WebCtorNut
This class simply extends ConstructorNut and set servlet context to components with the specified setter that accepts an ServletContext object.
The default setter name is "setServletContext".
| Constructor Summary | |
|---|---|
WebCtorNut()
|
|
| 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.ConstructorNut |
|---|
eval, evaluateNoLifecycle, getDeclaringClass, getDisposer, getInitializer, getStarter, getStopper, isPrivate_access, setClass, setDisposer, setInitializer, 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 WebCtorNut()
| 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 | |||||||||