org.apache.struts2.plexus
Class PlexusUtils
java.lang.Object
org.apache.struts2.plexus.PlexusUtils
public class PlexusUtils
- extends Object
Utility methods for dealing with Plexus
Method Summary |
static void |
configure(org.codehaus.plexus.PlexusContainer pc,
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 |
PlexusUtils
public PlexusUtils()
configure
public static void configure(org.codehaus.plexus.PlexusContainer pc,
String file)
throws org.codehaus.plexus.configuration.PlexusConfigurationResourceException
- Configures the container with the configuration file
- Parameters:
pc
- The plexus containerfile
- The file path
- Throws:
org.codehaus.plexus.configuration.PlexusConfigurationResourceException
- If the plexus configuration can't be loaded
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.