|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.maven_plugin.ClassLoaderSwitcher
public class ClassLoaderSwitcher
Manages switching to the classloader needed for creating the java sources and restoring the old classloader when finished
| Constructor Summary | |
|---|---|
ClassLoaderSwitcher(Log log)
|
|
| Method Summary | |
|---|---|
void |
restoreClassLoader()
Restore the old classloader |
void |
switchClassLoader(MavenProject project,
boolean useCompileClasspath,
java.io.File classesDir)
Create and set the classloader that is needed for creating the java sources from wsdl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoaderSwitcher(Log log)
| Method Detail |
|---|
public void switchClassLoader(MavenProject project,
boolean useCompileClasspath,
java.io.File classesDir)
project - useCompileClasspath - classesDir - public void restoreClassLoader()
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||