|
Mura CMS 6.0 | ||||
FRAMES |
railo-context.Componentmura.bean.beanInjector
public class beanInjector
Constructor Summary | |
---|---|
init([string suffixList=''], [boolean debugMode='false'])
Constructor |
Method Summary | |
---|---|
any |
autowire(any targetComponent, [any targetComponentTypeName=''], [string stopRecursionAt=''])
|
any |
getBeanFactory()
I return the BeanFactory |
private void |
injectBean(any targetObject, string propertyName, any propertyValue)
|
private void |
injectCachedBeans(any targetComponent, string typeName)
|
private void |
performDIRecursion(any targetObject, struct metaData, string originalTypeName, string stopRecursionAt)
|
void |
setBeanFactory(coldspring.beans.BeanFactory beanFactory)
I set the BeanFactory |
Methods inherited from class railo-context.Component |
---|
|
Constructor Detail |
---|
public init([string suffixList=''], [boolean debugMode='false'])
suffixList
debugMode
Method Detail |
---|
public any autowire(any targetComponent, [any targetComponentTypeName=''], [string stopRecursionAt=''])
targetComponent
targetComponentTypeName
- If the calling code already knows the type name of the target component, passing this will provide a small speed improvment because the type doesn't have to be looked up in the component metadata.stopRecursionAt
- When recursing the parent classes of the target component, recusion will stop when it reaches this class name.public any getBeanFactory()
private void injectBean(any targetObject, string propertyName, any propertyValue)
targetObject
propertyName
propertyValue
private void injectCachedBeans(any targetComponent, string typeName)
targetComponent
typeName
private void performDIRecursion(any targetObject, struct metaData, string originalTypeName, string stopRecursionAt)
targetObject
metaData
originalTypeName
stopRecursionAt
public void setBeanFactory(coldspring.beans.BeanFactory beanFactory)
beanFactory
|
Mura CMS 6.0 | ||||
FRAMES |