Class AnchorDefaultBeanFactory

Object
org.anchoranalysis.bean.xml.factory.AnchorDefaultBeanFactory
All Implemented Interfaces:
org.apache.commons.configuration.beanutils.BeanFactory

public class AnchorDefaultBeanFactory
extends Object
implements org.apache.commons.configuration.beanutils.BeanFactory
The default bean factory used for initializing AnchorBeans.

i.e. the factory used when no config-factory attribute is set in the XML.

Author:
Owen Feehan
  • Constructor Details

  • Method Details

    • createBean

      public Object createBean​(Class<?> beanClass, org.apache.commons.configuration.beanutils.BeanDeclaration data, Object parameter) throws Exception
      Specified by:
      createBean in interface org.apache.commons.configuration.beanutils.BeanFactory
      Throws:
      Exception
    • getDefaultBeanClass

      public Class<?> getDefaultBeanClass()
      Returns null as Optional is not supported by BeanFactory interface.
      Specified by:
      getDefaultBeanClass in interface org.apache.commons.configuration.beanutils.BeanFactory
    • getDefaultInstances

      public BeanInstanceMap getDefaultInstances()
      Default bean-classes to use for particular family types of beans.