Package org.apache.torque.generator.configuration

Examples of org.apache.torque.generator.configuration.Configuration


     */
    public void run(List<UnitDescriptor> unitDescriptors)
        throws GeneratorException
    {
        initLogging();
        Configuration configuration = readConfiguration(unitDescriptors);

        List<UnitConfiguration> unitConfigurations
                = configuration.getUnitConfigurations();
        ControllerState controllerState = new ControllerState();
        for (UnitConfiguration unitConfiguration : unitConfigurations)
        {
            processGenerationUnit(
                    controllerState,
View Full Code Here


    private Configuration readConfiguration(
                List<UnitDescriptor> unitDescriptors)
            throws ConfigurationException
    {
        log.info("readConfiguration() : Starting to read configuration files");
        Configuration configuration = new Configuration();
        configuration.addUnits(unitDescriptors);
        configuration.read();
        log.info("readConfiguration() : Configuration read.");
        return configuration;
    }
View Full Code Here

TOP

Related Classes of org.apache.torque.generator.configuration.Configuration

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.