public class ClassLoaderSwitcher extends Object
Constructor and Description |
---|
ClassLoaderSwitcher(org.apache.maven.plugin.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
void |
restoreClassLoader()
Restore the old classloader
|
String |
switchClassLoader(org.apache.maven.project.MavenProject project,
boolean useCompileClasspath,
String classpath,
List<?> classpathElements)
Create and set the classloader that is needed for creating the java sources from wsdl
|
public ClassLoaderSwitcher(org.apache.maven.plugin.logging.Log log)
public String switchClassLoader(org.apache.maven.project.MavenProject project, boolean useCompileClasspath, String classpath, List<?> classpathElements)
project
- useCompileClasspath
- classesDir
- public void restoreClassLoader()
Apache CXF