Class JAXBBeanFactory

  • All Implemented Interfaces:
    BeanFactory

    public class JAXBBeanFactory
    extends Object
    implements BeanFactory
    Public custom bean factory that can be used by application code when mapping JAXB data objects
    • Constructor Detail

      • JAXBBeanFactory

        public JAXBBeanFactory()
    • Method Detail

      • createBean

        public Object createBean​(Object srcObj,
                                 Class<?> srcObjClass,
                                 String beanId,
                                 BeanContainer beanContainer)
        Create a bean implementation of a JAXB interface.
        Specified by:
        createBean in interface BeanFactory
        Parameters:
        srcObj - The source object
        srcObjClass - The source object class
        beanId - the name of the destination interface class
        Returns:
        A implementation of the destination interface