public |
getbeandefinitionlist | Public Function getBeanDefinitionList | arguments | label | name | required | type | default | hint |
| return type | Struct |
|
setdefaultattributes | Public Function setDefaultAttributes | arguments | label | name | required | type | default | hint | | DefaultAttributes | true | struct | null | |
| return type | void |
|
iscfc | Public Function isCFC | arguments | label | name | required | type | default | hint | | objectToCheck | true | any | null | |
| return type | boolean |
|
containsbean | containsBean | returns true if the BeanFactory contains a bean definition or bean instance that matches the given name | Public Function containsBean | arguments | label | name | required | type | default | hint | | beanName | true | string | null | name of bean to look for |
| return type | boolean |
|
|
loadbeansfromxmlraw | loadBeansFromXmlRaw | loads bean definitions into the bean factory from supplied raw xml | Public Function loadBeansFromXmlRaw | arguments | label | name | required | type | default | hint | | beanDefinitionXml | true | string | null | I am raw unparsed xml bean defs |
| return type | void |
|
|
loadbeans | loadBeans | loads bean definitions into the bean factory from an xml file location | Public Function loadBeans | arguments | label | name | required | type | default | hint | | beanDefinitionFileName | true | string | null | |
| return type | void |
|
|
getbeanfromsingletoncache | Public Function getBeanFromSingletonCache | arguments | label | name | required | type | default | hint | | beanName | true | string | null | |
| return type | any |
|
getdefaultattributes | Public Function getDefaultAttributes | arguments | label | name | required | type | default | hint |
| return type | struct |
|
beandefinitionexists | beanDefinitionExists | searches all known factories (parents) to see if bean definition for the specified bean exists | Public Function beanDefinitionExists | arguments | label | name | required | type | default | hint | | beanName | true | string | null | |
| return type | boolean |
|
|
getdefaultproperties | Public Function getDefaultProperties | arguments | label | name | required | type | default | hint |
| return type | struct |
|
loadbeansfromxmlobj | loadBeansFromXmlObj | loads bean definitions into the bean factory from supplied cf xml object | Public Function loadBeansFromXmlObj | arguments | label | name | required | type | default | hint | | beanDefinitionXmlObj | true | any | null | I am parsed xml bean defs |
| return type | void |
|
|
getbeandefinition | getBeanDefinition | retrieves a bean definition for the specified bean | Public Function getBeanDefinition | arguments | label | name | required | type | default | hint | | beanName | true | string | null | |
| return type | coldspring.beans.BeanDefinition |
|
|
setdefaultproperties | Public Function setDefaultProperties | arguments | label | name | required | type | default | hint | | DefaultProperties | true | struct | null | |
| return type | void |
|
shrinkfullrelativepath | Public Function shrinkFullRelativePath | arguments | label | name | required | type | default | hint | | fullPath | true | string | null | |
| return type | string |
|
gettype | Public Function getType | arguments | label | name | required | type | default | hint | | beanName | true | string | null | |
| return type | string |
|
flattenmetadata | flattenMetaData | takes metadata, copies inherited methods into the top level function array, and returns it | Public Function flattenMetaData | arguments | label | name | required | type | default | hint | | md | true | struct | null | |
| return type | struct |
|
|
findbeannamebytype | findBeanNameByType | finds the first bean matching the specified type in the bean factory, otherwise returns '' | Public Function findBeanNameByType | arguments | label | name | required | type | default | hint | | typeName | true | string | null | type of bean to look for |
| return type | string |
|
|
getmergedbeandefinition | Public Function getMergedBeanDefinition | arguments | label | name | required | type | default | hint | | beanName | true | string | null | |
| return type | coldspring.beans.BeanDefinition |
|
loadbeandefinitions | loadBeanDefinitions | actually loads the bean definitions by processing the supplied xml data | Public Function loadBeanDefinitions | arguments | label | name | required | type | default | hint | | XmlBeanDefinitions | true | any | null | I am a parsed Xml of bean definitions |
| return type | void |
|
|
singletoncachecontainsbean | Public Function singletonCacheContainsBean | arguments | label | name | required | type | default | hint | | beanName | true | string | null | |
| return type | boolean |
|
findimports | findImports | finds and caches include file paths | Public Function findImports | arguments | label | name | required | type | default | hint | | importFiles | true | struct | null | | | importedFilename | true | string | null | |
| return type | void |
|
|
init | init | Constuctor. Creates a beanFactory | Public Function init | arguments | label | name | required | type | default | hint | | defaultAttributes | false | struct | | default behaviors for undefined bean attributes | | defaultProperties | false | struct | | any default properties, which can be refernced via ${key} in your bean definitions |
| return type | coldspring.beans.DefaultXmlBeanFactory |
|
|
getparent | Public Function getParent | arguments | label | name | required | type | default | hint |
| return type | coldspring.beans.AbstractBeanFactory |
|
localfactorycontainsbean | localFactoryContainsBean | returns true if the BeanFactory contains a bean definition or bean instance that matches the given name | Public Function localFactoryContainsBean | arguments | label | name | required | type | default | hint | | beanName | true | string | null | name of bean to look for |
| return type | boolean |
|
|
setparent | Public Function setParent | arguments | label | name | required | type | default | hint | | parent | true | coldspring.beans.AbstractBeanFactory | null | |
| return type | void |
|
findimportsfromxmlobj | findImportsFromXmlObj | finds and caches include file paths | Public Function findImportsFromXmlObj | arguments | label | name | required | type | default | hint | | importFiles | true | struct | null | | | beanDefinitionXmlObj | true | any | null | I am parsed xml bean defs |
| return type | void |
|
|
getbean | getBean | returns
an instance of the bean registered under the given name. Depending on
how the bean was configured, either a singleton and thus shared
instance or a newly created bean will be returned. A BeansException
will be thrown when either the bean could not be found (in which case
it'll be a NoSuchBeanDefinitionException), or an exception occurred
while instantiating and preparing the bean | Public Function getBean | arguments | label | name | required | type | default | hint | | beanName | true | string | null | name of bean to look for |
| return type | any |
|
|
addbeantosingletoncache | Public Function addBeanToSingletonCache | arguments | label | name | required | type | default | hint | | beanName | true | string | null | | | beanObject | true | any | null | |
| return type | any |
|
registeralias | Public Function registerAlias | arguments | label | name | required | type | default | hint | | beanName | true | string | null | | | alias | true | string | null | |
| return type | void |
|
createbeandefinition | createBeanDefinition | creates a bean definition within this bean factory. | Public Function createBeanDefinition | arguments | label | name | required | type | default | hint | | beanID | true | string | null | | | beanClass | true | string | null | | | children | true | any | null | | | isSingleton | true | boolean | null | | | isInnerBean | true | boolean | null | | | isLazyInit | false | boolean | false | | | initMethod | false | string | | | | factoryBean | false | string | | | | factoryMethod | false | string | | | | autowire | false | string | no | | | factoryPostProcessor | false | boolean | false | | | beanPostProcessor | false | boolean | false | | | abstract | false | boolean | false | | | parent | false | string | | |
| return type | void |
|
|
resolvebeanname | Public Function resolveBeanName | arguments | label | name | required | type | default | hint | | name | true | string | null | |
| return type | string |
|
issingleton | isSingleton | returns whether the bean with the specified name is a singleton | Public Function isSingleton | arguments | label | name | required | type | default | hint | | beanName | true | string | null | the bean name to look for |
| return type | boolean |
|
|
loadbeansfromxmlfile | loadBeansFromXmlFile | loads bean definitions into the bean factory from an xml file location | Public Function loadBeansFromXmlFile | arguments | label | name | required | type | default | hint | | beanDefinitionFile | true | string | null | I am the location of the bean definition xml file |
| return type | void |
|
|