Package org.jboss.wsf.stack.cxf.tools
Class JBossModulesAwareCompiler
- java.lang.Object
-
- org.apache.cxf.common.util.Compiler
-
- org.jboss.wsf.stack.cxf.tools.JBossModulesAwareCompiler
-
public final class JBossModulesAwareCompiler extends Compiler
A CXF Compiler that installs a custom JavaFileManager to load JAXWS and JAXB apis from the proper JBoss module (the one providing the JAXWS SPI Provider) instead of from the JDK boot classpath. This implemenation addresses the needs of JDK-8 and earlier versions.
-
-
Constructor Summary
Constructors Constructor Description JBossModulesAwareCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JavaFileManagerwrapJavaFileManager(StandardJavaFileManager standardJavaFileManger)-
Methods inherited from class org.apache.cxf.common.util.Compiler
addArgs, compileFiles, compileFiles, compileFiles, getErrors, getWarnings, internalCompile, internalJava6Compile, setClassPath, setEncoding, setMaxMemory, setOutputDir, setOutputDir, setTarget, setupDiagnosticListener, setVerbose, useJava6Compiler
-
-
-
-
Method Detail
-
wrapJavaFileManager
protected JavaFileManager wrapJavaFileManager(StandardJavaFileManager standardJavaFileManger)
- Overrides:
wrapJavaFileManagerin classCompiler
-
-