Package org.codehaus.plexus.spring

Examples of org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader


     */
    protected void loadBeanDefinitions( DefaultListableBeanFactory beanFactory )
        throws IOException
    {
        // Create a new XmlBeanDefinitionReader for the given BeanFactory.
        XmlBeanDefinitionReader beanDefinitionReader = new PlexusXmlBeanDefinitionReader( beanFactory );

        // Configure the bean definition reader with this context's
        // resource loading environment.
        beanDefinitionReader.setResourceLoader( this );
        beanDefinitionReader.setEntityResolver( new ResourceEntityResolver( this ) );

        // Allow a subclass to provide custom initialization of the reader,
        // then proceed with actually loading the bean definitions.
        initBeanDefinitionReader( beanDefinitionReader );
        loadBeanDefinitions( beanDefinitionReader );
View Full Code Here


     * @see #initBeanDefinitionReader
     * @see #loadBeanDefinitions
     */
    protected void loadBeanDefinitions( DefaultListableBeanFactory beanFactory ) throws IOException {
        // Create a new XmlBeanDefinitionReader for the given BeanFactory.
        XmlBeanDefinitionReader beanDefinitionReader = new PlexusXmlBeanDefinitionReader( beanFactory );

        // Configure the bean definition reader with this context's
        // resource loading environment.
        beanDefinitionReader.setResourceLoader( this );
        beanDefinitionReader.setEntityResolver( new ResourceEntityResolver( this ) );

        // Allow a subclass to provide custom initialization of the reader,
        // then proceed with actually loading the bean definitions.
        initBeanDefinitionReader( beanDefinitionReader );
        loadBeanDefinitions( beanDefinitionReader );
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.