|
||||||||||
| 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.xml.nuts.BeanNut
jfun.yan.xml.nuts.spring.SpringBeanNut
jfun.yan.web.WebSpringBeanNut
public class WebSpringBeanNut
This class simply extends SpringBeanNut and set servlet context to components with the specified setter that accepts an ServletContext object.
The default setter name is "setServletContext".
| Constructor Summary | |
|---|---|
WebSpringBeanNut(SpringService service)
|
|
| 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.spring.SpringBeanNut |
|---|
addBeanPostProcessor, eval, getApplicationContext, getInterfaces, getPropertyAutowireMode, getSingleton, getTransactionAttributes, getTransactionManager, isSingletonAttributeSet, manageDisposableBean, setDestroy_method, setInit_method, setInterfaces, setSingleton, setStart_method, setStop_method, setTransactionAttributes, setTransactionManager |
| Methods inherited from class jfun.yan.xml.nuts.BeanNut |
|---|
add, evaluateNoLifecycle, isBeanByDefault, setClass, setComponent |
| Methods inherited from class jfun.yan.xml.nuts.ConstructorNut |
|---|
getDeclaringClass, getDisposer, getInitializer, getStarter, getStopper, isPrivate_access, setDisposer, setInitializer, setPrivate_access, setStarter, setStopper |
| Methods inherited from class jfun.yan.xml.nuts.ArgumentsAndPropertiesNut |
|---|
addArg, addArgs, addProp, applyArguments, applyProperties, containsExplicitProperty, decorateComponent, defineBean, getArgList, getArgs, getAutoWire, getMaxArgsCount, getParameterAutowireMode, getParameterTypes, getPropertyNames, isAllProperties, isValidate_property_names, setArgs, setAutowire, setOptional_properties, setParams, setProperty_names, setProps, setValidate_property_names |
| 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.spring.SpringContext |
|---|
cast, convert, getId, getTagName, isGloballyDefined |
| Methods inherited from interface jfun.yan.xml.nuts.LifecycleDeclaration |
|---|
getDisposer, getInitializer, getNutEnvironment, getStarter, getStopper, getTagLocation |
| Constructor Detail |
|---|
public WebSpringBeanNut(SpringService service)
| 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 | |||||||||