Package org.apache.avalon.framework.configuration

Examples of org.apache.avalon.framework.configuration.DefaultConfiguration.addAll()


        throws ConfigurationException
    {
        final ValidationResult result = new ValidationResult();
        final DefaultConfiguration branched =
            new DefaultConfiguration( "root", configuration.getLocation() );
        branched.addAll( configuration );
        branched.makeReadOnly();

        try
        {
            final Verifier verifier = m_schema.newVerifier();
View Full Code Here


            // are not configurations for the component container
            final DefaultConfiguration c = new DefaultConfiguration(componentConfig.getName(),
                                                                    componentConfig.getLocation(),
                                                                    componentConfig.getNamespace(),
                                                                    "");
            c.addAll(componentConfig);
            classPathConfig = c.getChild(CLASSLOADER_CONFIG_NAME, false);
            if ( classPathConfig != null ) {
                c.removeChild(classPathConfig);
            }
            // and now add default includes
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.