All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jetty.webapp.CloneConfiguration Maven / Gradle / Ivy

There is a newer version: 11.0.0.beta1
Show newest version
package org.eclipse.jetty.webapp;


public class CloneConfiguration extends AbstractConfiguration
{
    final WebAppContext _template;
    
    CloneConfiguration(WebAppContext template)
    {
        _template=template;
    }
    
    @Override
    public void configure(WebAppContext context) throws Exception
    {
        for (Configuration configuration : _template.getConfigurations())
            configuration.cloneConfigure(_template,context);
    }


    @Override
    public void deconfigure(WebAppContext context) throws Exception
    {
        for (Configuration configuration : _template.getConfigurations())
            configuration.deconfigure(context);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy