Mura CMS 6.0

mura.bean
Class beanInjector

railo-context.Component
        extended by mura.bean.beanInjector

public class beanInjector
extends railo-context.Component

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

init

public init([string suffixList=''], [boolean debugMode='false'])
Constructor.

Parameters:
suffixList
debugMode
Method Detail

autowire

public any autowire(any targetComponent, [any targetComponentTypeName=''], [string stopRecursionAt=''])

Parameters:
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.

getBeanFactory

public any getBeanFactory()
I return the BeanFactory.


injectBean

private void injectBean(any targetObject, string propertyName, any propertyValue)

Parameters:
targetObject
propertyName
propertyValue

injectCachedBeans

private void injectCachedBeans(any targetComponent, string typeName)

Parameters:
targetComponent
typeName

performDIRecursion

private void performDIRecursion(any targetObject, struct metaData, string originalTypeName, string stopRecursionAt)

Parameters:
targetObject
metaData
originalTypeName
stopRecursionAt

setBeanFactory

public void setBeanFactory(coldspring.beans.BeanFactory beanFactory)
I set the BeanFactory.

Parameters:
beanFactory

Mura CMS 6.0