Package org.apache.commons.collections

Examples of org.apache.commons.collections.ExtendedProperties.clearProperty()


    protected ExtendedProperties loadConfiguration(ServletConfig config)
        throws IOException
    {
        // configure Velocity engines for using logging adapter
        ExtendedProperties configuration = super.loadConfiguration(config);
        configuration.clearProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM_CLASS);
        configuration.clearProperty("runtime.log.logsystem.log4j.category");
        configuration.setProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM, new VelocityEngineLogger());
        return configuration;
    }
View Full Code Here


        throws IOException
    {
        // configure Velocity engines for using logging adapter
        ExtendedProperties configuration = super.loadConfiguration(config);
        configuration.clearProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM_CLASS);
        configuration.clearProperty("runtime.log.logsystem.log4j.category");
        configuration.setProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM, new VelocityEngineLogger());
        return configuration;
    }

    /**
 
View Full Code Here

    protected ExtendedProperties loadConfiguration(ServletConfig config)
        throws IOException
    {
        // configure Velocity engines for using logging adapter
        ExtendedProperties configuration = super.loadConfiguration(config);
        configuration.clearProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM_CLASS);
        configuration.clearProperty("runtime.log.logsystem.log4j.category");
        configuration.setProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM, new VelocityEngineLogger());
        return configuration;
    }
View Full Code Here

        throws IOException
    {
        // configure Velocity engines for using logging adapter
        ExtendedProperties configuration = super.loadConfiguration(config);
        configuration.clearProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM_CLASS);
        configuration.clearProperty("runtime.log.logsystem.log4j.category");
        configuration.setProperty(VelocityEngine.RUNTIME_LOG_LOGSYSTEM, new VelocityEngineLogger());
        return configuration;
    }

    /**
 
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.