Package org.codehaus.plexus.spring

Examples of org.codehaus.plexus.spring.PlexusConfigurationPropertyEditor


        lifecycleBeanPostProcessor.setBeanFactory( context );
        beanFactory.addBeanPostProcessor( lifecycleBeanPostProcessor );

        // Register a PropertyEditor to support plexus XML <configuration> set as CDATA in
        // a spring context XML file.
        beanFactory.addPropertyEditorRegistrar( new PlexusConfigurationPropertyEditor() );
        beanFactory.addPropertyEditorRegistrar( new PropertiesPropertyEditor() );
        beanFactory.addPropertyEditorRegistrar( new CollectionPropertyEditor( List.class, ArrayList.class ) );
        beanFactory.addPropertyEditorRegistrar( new CollectionPropertyEditor( Set.class, HashSet.class ) );
        beanFactory.addPropertyEditorRegistrar( new MapPropertyEditor( Map.class, HashMap.class ) );
    }
View Full Code Here


        lifecycleBeanPostProcessor.setBeanFactory( context );
        beanFactory.addBeanPostProcessor( lifecycleBeanPostProcessor );

        // Register a PropertyEditor to support plexus XML <configuration> set as CDATA in
        // a spring context XML file.
        beanFactory.addPropertyEditorRegistrar( new PlexusConfigurationPropertyEditor() );
        beanFactory.addPropertyEditorRegistrar( new PropertiesPropertyEditor() );
        beanFactory.addPropertyEditorRegistrar( new CollectionPropertyEditor( List.class, ArrayList.class ) );
        beanFactory.addPropertyEditorRegistrar( new CollectionPropertyEditor( Set.class, HashSet.class ) );
        beanFactory.addPropertyEditorRegistrar( new MapPropertyEditor( Map.class, HashMap.class ) );
    }
View Full Code Here

TOP

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

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.