Package npanday.model.configurationappenders

Examples of npanday.model.configurationappenders.ConfigurationAppenderModel


    public void load( InputStream inputStream, Hashtable properties )
        throws NPandayRepositoryException
    {
        ConfigurationAppendersXpp3Reader xpp3Reader = new ConfigurationAppendersXpp3Reader();
        Reader reader = new InputStreamReader( inputStream );
        ConfigurationAppenderModel model;
        try
        {
            model = xpp3Reader.read( reader );
        }
        catch( IOException e )
        {
            throw new NPandayRepositoryException( "NPANDAY-062-000: An error occurred while reading plugins-compiler.xml", e );
        }
        catch ( XmlPullParserException e )
        {
            throw new NPandayRepositoryException( "NPANDAY-062-001: Could not read plugins-compiler.xml", e );
        }
        List<ConfigurationAppender> appenders  = model.getConfigurationAppenders();
        appenderClasses = new HashSet<Class>();
        for(ConfigurationAppender appender : appenders)
        {
            try
            {
View Full Code Here

TOP

Related Classes of npanday.model.configurationappenders.ConfigurationAppenderModel

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.