Package org.apache.archiva.configuration

Examples of org.apache.archiva.configuration.NetworkConfiguration


        value.setRepositoryScanning( repositoryScanning );
        WebappConfiguration webapp = readWebappConfiguration( prefix + "webapp.", registry );
        value.setWebapp( webapp );
        OrganisationInformation organisationInfo = readOrganisationInformation( prefix + "organisationInfo.", registry );
        value.setOrganisationInfo( organisationInfo );
        NetworkConfiguration networkConfiguration = readNetworkConfiguration( prefix + "networkConfiguration.", registry );
        value.setNetworkConfiguration( networkConfiguration );

        return value;
    }
View Full Code Here


        return value;
    }
   
    private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry )
    {
        NetworkConfiguration value = new NetworkConfiguration();

        int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() );
        value.setMaxTotal( maxTotal );
        int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() );
        value.setMaxTotalPerHost( maxTotalPerHost );
        boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() );
        value.setUsePooling( usePooling );

        return value;
    }
View Full Code Here

        value.setRepositoryScanning( repositoryScanning );
        WebappConfiguration webapp = readWebappConfiguration( prefix + "webapp.", registry );
        value.setWebapp( webapp );
        OrganisationInformation organisationInfo = readOrganisationInformation( prefix + "organisationInfo.", registry );
        value.setOrganisationInfo( organisationInfo );
        NetworkConfiguration networkConfiguration = readNetworkConfiguration( prefix + "networkConfiguration.", registry );
        value.setNetworkConfiguration( networkConfiguration );
        RedbackRuntimeConfiguration redbackRuntimeConfiguration = readRedbackRuntimeConfiguration( prefix + "redbackRuntimeConfiguration.", registry );
        value.setRedbackRuntimeConfiguration( redbackRuntimeConfiguration );
        ArchivaRuntimeConfiguration archivaRuntimeConfiguration = readArchivaRuntimeConfiguration( prefix + "archivaRuntimeConfiguration.", registry );
        value.setArchivaRuntimeConfiguration( archivaRuntimeConfiguration );
View Full Code Here

        return value;
    }
   
    private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry )
    {
        NetworkConfiguration value = new NetworkConfiguration();

    int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() );
        value.setMaxTotal( maxTotal );
    int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() );
        value.setMaxTotalPerHost( maxTotalPerHost );
        boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() );
        value.setUsePooling( usePooling );

        return value;
    }
View Full Code Here

        value.setRepositoryScanning( repositoryScanning );
        WebappConfiguration webapp = readWebappConfiguration( prefix + "webapp.", registry );
        value.setWebapp( webapp );
        OrganisationInformation organisationInfo = readOrganisationInformation( prefix + "organisationInfo.", registry );
        value.setOrganisationInfo( organisationInfo );
        NetworkConfiguration networkConfiguration = readNetworkConfiguration( prefix + "networkConfiguration.", registry );
        value.setNetworkConfiguration( networkConfiguration );

        return value;
    }
View Full Code Here

        return value;
    }
   
    private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry )
    {
        NetworkConfiguration value = new NetworkConfiguration();

        int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() );
        value.setMaxTotal( maxTotal );
        int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() );
        value.setMaxTotalPerHost( maxTotalPerHost );
        boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() );
        value.setUsePooling( usePooling );

        return value;
    }
View Full Code Here

        value.setRepositoryScanning( repositoryScanning );
        WebappConfiguration webapp = readWebappConfiguration( prefix + "webapp.", registry );
        value.setWebapp( webapp );
        OrganisationInformation organisationInfo = readOrganisationInformation( prefix + "organisationInfo.", registry );
        value.setOrganisationInfo( organisationInfo );
        NetworkConfiguration networkConfiguration = readNetworkConfiguration( prefix + "networkConfiguration.", registry );
        value.setNetworkConfiguration( networkConfiguration );
        java.util.List proxyConnectorRuleConfigurations = new java.util.ArrayList/*<ProxyConnectorRuleConfiguration>*/();
        List proxyConnectorRuleConfigurationsSubsets = registry.getSubsetList( prefix + "proxyConnectorRuleConfigurations.proxyConnectorRuleConfiguration" );
        for ( Iterator i = proxyConnectorRuleConfigurationsSubsets.iterator(); i.hasNext(); )
        {
View Full Code Here

        return value;
    }
   
    private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry )
    {
        NetworkConfiguration value = new NetworkConfiguration();

        int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() );
        value.setMaxTotal( maxTotal );
        int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() );
        value.setMaxTotalPerHost( maxTotalPerHost );
        boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() );
        value.setUsePooling( usePooling );

        return value;
    }
View Full Code Here

        value.setRepositoryScanning( repositoryScanning );
        WebappConfiguration webapp = readWebappConfiguration( prefix + "webapp.", registry );
        value.setWebapp( webapp );
        OrganisationInformation organisationInfo = readOrganisationInformation( prefix + "organisationInfo.", registry );
        value.setOrganisationInfo( organisationInfo );
        NetworkConfiguration networkConfiguration = readNetworkConfiguration( prefix + "networkConfiguration.", registry );
        value.setNetworkConfiguration( networkConfiguration );
        RedbackRuntimeConfiguration redbackRuntimeConfiguration = readRedbackRuntimeConfiguration( prefix + "redbackRuntimeConfiguration.", registry );
        value.setRedbackRuntimeConfiguration( redbackRuntimeConfiguration );
        ArchivaRuntimeConfiguration archivaRuntimeConfiguration = readArchivaRuntimeConfiguration( prefix + "archivaRuntimeConfiguration.", registry );
        value.setArchivaRuntimeConfiguration( archivaRuntimeConfiguration );
View Full Code Here

        return value;
    }
   
    private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry )
    {
        NetworkConfiguration value = new NetworkConfiguration();

    int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() );
        value.setMaxTotal( maxTotal );
    int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() );
        value.setMaxTotalPerHost( maxTotalPerHost );
        boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() );
        value.setUsePooling( usePooling );

        return value;
    }
View Full Code Here

TOP

Related Classes of org.apache.archiva.configuration.NetworkConfiguration

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.