org.apache.struts2.plexus
Class PlexusUtils

java.lang.Object
  extended by org.apache.struts2.plexus.PlexusUtils

public class PlexusUtils
extends java.lang.Object

Utility methods for dealing with Plexus


Constructor Summary
PlexusUtils()
           
 
Method Summary
static void configure(org.codehaus.plexus.PlexusContainer pc, java.lang.String file)
          Configures the container with the configuration file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusUtils

public PlexusUtils()
Method Detail

configure

public static void configure(org.codehaus.plexus.PlexusContainer pc,
                             java.lang.String file)
                      throws org.codehaus.plexus.configuration.PlexusConfigurationResourceException
Configures the container with the configuration file

Parameters:
pc - The plexus container
file - The file path
Throws:
org.codehaus.plexus.configuration.PlexusConfigurationResourceException - If the plexus configuration can't be loaded


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.