|
||||||||||
| 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.spring.SpringCtorNut
public class SpringCtorNut
A spring-aware ctor tag.
| Constructor Summary | |
|---|---|
SpringCtorNut(SpringService service)
|
|
| Method Summary | |
|---|---|
void |
addBeanPostProcessor(java.lang.String key,
Component bpp)
Notify the framework there is a BeanPostProcessor! |
Component |
eval()
|
org.springframework.context.ApplicationContext |
getApplicationContext()
Get the spring BeanFactory object. |
java.lang.String[] |
getInterfaces()
|
SingletonMode |
getSingleton()
Get the configured singleton mode. |
Component |
getTransactionAttributes()
|
Component |
getTransactionManager()
|
boolean |
isSingletonAttributeSet()
Is the singleton mode configured? |
void |
manageDisposableBean(org.springframework.beans.factory.DisposableBean instance)
Manage the lifecycle of a Disposable Bean. |
void |
setDestroy_method(java.lang.String name)
|
void |
setInit_method(java.lang.String name)
|
void |
setInterfaces(java.lang.String[] interfaces)
|
void |
setSingleton(SingletonMode singleton)
|
void |
setStart_method(java.lang.String name)
|
void |
setStop_method(java.lang.String name)
|
void |
setTransactionAttributes(Component transaction_attrs)
|
void |
setTransactionManager(Component tx)
|
| Methods inherited from class jfun.yan.xml.nuts.ConstructorNut |
|---|
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.spring.SpringContext |
|---|
cast, convert, getId, getTagName, isGloballyDefined |
| Methods inherited from interface jfun.yan.xml.nuts.LifecycleDeclaration |
|---|
getNutEnvironment, getTagLocation |
| Constructor Detail |
|---|
public SpringCtorNut(SpringService service)
| Method Detail |
|---|
public void setInit_method(java.lang.String name)
public void setDestroy_method(java.lang.String name)
public void setStart_method(java.lang.String name)
public void setStop_method(java.lang.String name)
public java.lang.String[] getInterfaces()
public void setInterfaces(java.lang.String[] interfaces)
public Component getTransactionAttributes()
public void setTransactionAttributes(Component transaction_attrs)
public Component getTransactionManager()
public void setTransactionManager(Component tx)
public void manageDisposableBean(org.springframework.beans.factory.DisposableBean instance)
SpringContext
manageDisposableBean in interface SpringContextinstance - the disposable bean.public org.springframework.context.ApplicationContext getApplicationContext()
SpringContext
getApplicationContext in interface SpringContextpublic Component eval()
eval in class ConstructorNut
public void addBeanPostProcessor(java.lang.String key,
Component bpp)
SpringContext
addBeanPostProcessor in interface SpringContextkey - the key of the bean.bpp - the component for the BeanPostProcessor.public SingletonMode getSingleton()
SpringContext
getSingleton in interface SpringContextpublic void setSingleton(SingletonMode singleton)
public boolean isSingletonAttributeSet()
SpringContext
isSingletonAttributeSet in interface SpringContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||