Package org.codehaus.plexus.registry

Examples of org.codehaus.plexus.registry.Registry.save()


        if ( section == null )
        {
            section = registry.getSection( KEY + ".base" );
        }
        new ConfigurationRegistryWriter().write( configuration, section );
        section.save();

        this.configuration = configuration;
    }

    public void addChangeListener( RegistryListener listener )
View Full Code Here


            throw new IndeterminateConfigurationException(
                "Configuration can not be saved when it is loaded from two sources" );
        }

        new ConfigurationRegistryWriter().write( configuration, section );
        section.save();

        this.configuration = configuration;
    }

    private Registry createDefaultConfigurationFile()
View Full Code Here

        if ( section == null )
        {
            section = registry.getSection( KEY + ".base" );
        }
        new ConfigurationRegistryWriter().write( configuration, section );
        section.save();

        this.configuration = configuration;
    }

    public void addChangeListener( RegistryListener listener )
View Full Code Here

        if ( section == null )
        {
            section = registry.getSection( KEY + ".base" );
        }
        new ConfigurationRegistryWriter().write( configuration, section );
        section.save();

        this.configuration = configuration;
    }

    public void addChangeListener( RegistryListener listener )
View Full Code Here

        throws RegistryException
    {
        Registry continuumRegistry = getContinuumRegistry();
       
        continuumRegistry.setString( FOOTER_REGISTRY_KEY, footerHtmlContent );
        continuumRegistry.save();
        this.footer = footerHtmlContent;
    }

    // ------------------------------------------------
    //  Internal stuff
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.