CVS: plexus-container-new/src/java/org/apache/plexus PlexusDefaults.java,NONE,1.1

[email protected]
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus
In directory eng.werken.com:/tmp/cvs-serv18108

Added Files:
	PlexusDefaults.java 
Log Message:
o Where the defaults that are taken from the default configuration
  are stored.

--- NEW FILE: PlexusDefaults.java ---
package org.apache.plexus;

import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.ConfigurationException;

public class PlexusDefaults
{
    private String defaultLifecycleHandler;

    public PlexusDefaults( Configuration configuration )
    {
        try
        {
            defaultLifecycleHandler =
                configuration.getChild( "lifecycle-handler").getChild("implementation").getValue();
        }
        catch ( ConfigurationException e )
        {
        }
    }

    public String getDefaultLifecycleHandler()
    {
        return defaultLifecycleHandler;
    }
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.