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
|
Set<URI> |
switchClassLoader(org.apache.maven.project.MavenProject project,
boolean useCompileClasspath,
File classesDir)
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 Set<URI> switchClassLoader(org.apache.maven.project.MavenProject project, boolean useCompileClasspath, File classesDir)
project
- useCompileClasspath
- classesDir
- public void restoreClassLoader()
Apache CXF